Pekka Enberg 8759ec50a6 slab: remove GFP_THISNODE clearing from alloc_slabmgmt()
Commit 6cb062296f73e74768cca2f3eaf90deac54de02d ("Categorize GFP flags")
left one call-site in alloc_slabmgmt() to clear GFP_THISNODE instead of
GFP_CONSTRAINT_MASK. Unfortunately, that ends up clearing __GFP_NOWARN
and __GFP_NORETRY as well which is not what we want. As the only caller
of alloc_slabmgmt() already clears GFP_CONSTRAINT_MASK before passing
local_flags to it, we can just remove the clearing of GFP_THISNODE.

This patch should fix spurious page allocation failure warnings on the
mempool_alloc() path. See the following URL for the original discussion
of the bug:

  http://lkml.org/lkml/2008/10/27/100

Acked-by: Christoph Lameter <cl@linux-foundation.org>
Reported-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
2008-12-29 11:40:53 +02:00
..
2008-11-26 13:04:35 +01:00
2008-10-20 08:50:26 -07:00
2008-10-23 08:55:02 -07:00
2008-11-30 10:03:35 -08:00
2008-11-14 11:29:12 +11:00
2007-10-20 01:27:18 +02:00
2008-12-25 11:40:09 +11:00
2008-04-28 08:58:18 -07:00
2008-12-20 09:15:47 +01:00
2008-11-12 10:37:48 -08:00
2008-07-28 16:30:21 -07:00
2008-07-28 16:30:21 -07:00
2007-05-21 09:18:19 -07:00
2008-10-30 11:38:47 -07:00
2008-11-14 11:29:12 +11:00
2008-02-05 09:44:19 -08:00
2008-06-12 18:05:41 -07:00
2007-10-20 01:27:18 +02:00
2008-10-20 08:52:40 -07:00
2008-11-30 10:03:35 -08:00
2008-12-16 18:34:51 +01:00
2008-12-10 08:01:54 -08:00