summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pciehp.h
diff options
context:
space:
mode:
authorPaul Jackson2006-01-08 10:02:04 +0100
committerLinus Torvalds2006-01-09 05:13:45 +0100
commit03a285f58064b8e0af08383e082e383753d9c33e (patch)
treeaf458f3357d4e2d01dc04d2d41a7dd7d502c4755 /drivers/pci/hotplug/pciehp.h
parent[PATCH] cpuset: mark number_of_cpusets read_mostly (diff)
downloadkernel-qcow2-linux-03a285f58064b8e0af08383e082e383753d9c33e.tar.gz
kernel-qcow2-linux-03a285f58064b8e0af08383e082e383753d9c33e.tar.xz
kernel-qcow2-linux-03a285f58064b8e0af08383e082e383753d9c33e.zip
[PATCH] cpuset: skip rcu check if task is in root cpuset
For systems that aren't using cpusets, but have them CONFIG_CPUSET enabled in their kernel (eventually this may be most distribution kernels), this patch removes even the minimal rcu_read_lock() from the memory page allocation path. Actually, it removes that rcu call for any task that is in the root cpuset (top_cpuset), which on systems not actively using cpusets, is all tasks. We don't need the rcu check for tasks in the top_cpuset, because the top_cpuset is statically allocated, so at no risk of being freed out from underneath us. Signed-off-by: Paul Jackson <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/pci/hotplug/pciehp.h')
0 files changed, 0 insertions, 0 deletions