| commit | 5b95a4acf157eee552e013795b54eaa2ab1ee4a1 | [log] [tgz] |
|---|---|---|
| author | Christoph Lameter <clameter@sgi.com> | Tue Jul 17 04:03:19 2007 -0700 |
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Tue Jul 17 10:23:01 2007 -0700 |
| tree | 8222033f1db996fd6ce28ce3685edc8b17793b0b | |
| parent | 2492268472e7d326a6fe10f92f9211c4578f2482 [diff] |
SLUB: use list_for_each_entry for loops over all slabs Use list_for_each_entry() instead of list_for_each(). Get rid of for_all_slabs(). It had only one user. So fold it into the callback. This also gets rid of cpu_slab_flush. 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>