commit | a0e1d1be204612ee83b3afe8aa24c5d27e63d464 | [log] [tgz] |
---|---|---|
author | Christoph Lameter <clameter@sgi.com> | Tue Jul 17 04:03:31 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Tue Jul 17 10:23:02 2007 -0700 |
tree | a32092a7eda82c84c5e195de5efd2cb6c0bff553 | |
parent | 434e245ddd3f14aa8eef97cae16c71b863ab092a [diff] |
SLUB: Move sysfs operations outside of slub_lock Sysfs can do a gazillion things when called. Make sure that we do not call any sysfs functions while holding the slub_lock. Just protect the essentials: 1. The list of all slab caches 2. The kmalloc_dma array 3. The ref counters of the slabs. 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>