]> git.neil.brown.name Git - history.git/commit
[PATCH] Don't make the slab might_sleep() check dependent on slab debugging
authorAndrew Morton <akpm@digeo.com>
Mon, 30 Dec 2002 05:41:30 +0000 (21:41 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 30 Dec 2002 05:41:30 +0000 (21:41 -0800)
commit8577da6a4ffb3385af83f9e6d83e33f310fd377a
treef295f8ef1a0e844ee3658b57afe262ace67e6f71
parentb2e92a52042252a89d4ee939d7bdcb98a9714701
[PATCH] Don't make the slab might_sleep() check dependent on slab debugging

The might_sleep() check in kmm_cache_alloc() is currently disabled if slab
debugging is disabled.

Fix that so it's enabled if might_sleep debugging is enabled.
mm/slab.c