Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

slub: another slabinfo fix

The slab manipulation functions should not be triggered by slabs that
are unresovable in the subset of slabs selected on the command line.

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>

authored by

Christoph Lameter and committed by
Linus Torvalds
32f9306b 223a10a9

+9
+9
Documentation/vm/slabinfo.c
··· 262 262 263 263 void slab_validate(struct slabinfo *s) 264 264 { 265 + if (strcmp(s->name, "*") == 0) 266 + return; 267 + 265 268 set_obj(s, "validate", 1); 266 269 } 267 270 268 271 void slab_shrink(struct slabinfo *s) 269 272 { 273 + if (strcmp(s->name, "*") == 0) 274 + return; 275 + 270 276 set_obj(s, "shrink", 1); 271 277 } 272 278 ··· 556 550 557 551 void slab_debug(struct slabinfo *s) 558 552 { 553 + if (strcmp(s->name, "*") == 0) 554 + return; 555 + 559 556 if (sanity && !s->sanity_checks) { 560 557 set_obj(s, "sanity", 1); 561 558 }