]> git.baikalelectronics.ru Git - kernel.git/commit
SLUB slab validation: Alloc while interrupts are disabled must use GFP_ATOMIC
authorChristoph Lameter <clameter@sgi.com>
Sat, 16 Jun 2007 17:15:57 +0000 (10:15 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 16 Jun 2007 20:16:15 +0000 (13:16 -0700)
commit69c17ec8287b6ad03727a5bd15c332ed7082c681
tree75b2cabf36cc35d6549dbda5e53b09650ec422f7
parent98d1f2655c89939c6b69852e879b2b4464696ddb
SLUB slab validation: Alloc while interrupts are disabled must use GFP_ATOMIC

The data structure to manage the information gathered about functions
allocating and freeing objects is allocated when the list_lock has already
been taken.  We need to allocate with GFP_ATOMIC instead of GFP_KERNEL.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c