summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2007-07-17 13:03:20 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 19:23:01 +0200
commit68dff6a9af9f27df5aeee6d0339818b0e36c1b51 (patch)
treef25cc5e85925a8901e301e8f8d5d04188f27c0ee /COPYING
parentSLUB: use list_for_each_entry for loops over all slabs (diff)
downloadlinux-68dff6a9af9f27df5aeee6d0339818b0e36c1b51.tar.xz
linux-68dff6a9af9f27df5aeee6d0339818b0e36c1b51.zip
SLUB slab validation: Move tracking information alloc outside of lock
We currently have to do an GFP_ATOMIC allocation because the list_lock is already taken when we first allocate memory for tracking allocation information. It would be better if we could avoid atomic allocations. Allocate a size of the tracking table that is usually sufficient (one page) before we take the list lock. We will then only do the atomic allocation if we need to resize the table to become larger than a page (mostly only needed under large NUMA because of the tracking of cpus and nodes otherwise the table stays small). Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions