Re: [PATCH] pci: Avoid unnecessary calls to work_on_cpu

Andi Kleen
2013-07-08T04:37:08Z

> > But Rusty added this (in 873392ca51), and he knows way more about this
> > stuff than I do.
>
> Actually, I just stopped the code from playing cpumask games, which is
> what it used to do.

You're right the numa_node_id() check ptimization is not 100% safe on preempt
kernels and should be probably removed. Also I agree it would probably
make sense to move it up to the generic device layer (although I'm not
sure that other bus types really care that much about NUMA locality)

None of it seems to be a fatal problem though, so it boils down to
"if someone cares enough to write a patch"

-Andi