]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.25/patches.fixes/slab-alloc_slabmgmt-fix.patch
Removed old xen patchset
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.fixes / slab-alloc_slabmgmt-fix.patch
diff --git a/src/patches/suse-2.6.27.25/patches.fixes/slab-alloc_slabmgmt-fix.patch b/src/patches/suse-2.6.27.25/patches.fixes/slab-alloc_slabmgmt-fix.patch
deleted file mode 100644 (file)
index c11d5ce..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From: Pekka Enberg <penberg@cs.helsinki.fi>
-Date: Tue, 25 Nov 2008 00:33:28 +0200
-Subject: slab: remove GFP_THISNODE clearing from alloc_slabmgmt()
-Patch-mainline: 2.6.28?
-References: bnc#444597
-
-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 an example:
-
-  http://lkml.org/lkml/2008/10/27/100
-
-Reported-by: Miklos Szeredi <miklos@szeredi.hu>
-Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
-Acked-by: Miklos Szeredi <mszeredi@suse.cz>
----
- mm/slab.c |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/mm/slab.c b/mm/slab.c
-index 918f04f..98d3024 100644
---- a/mm/slab.c
-+++ b/mm/slab.c
-@@ -2608,7 +2608,7 @@ static struct slab *alloc_slabmgmt(struct kmem_cache *cachep, void *objp,
-       if (OFF_SLAB(cachep)) {
-               /* Slab management obj is off-slab. */
-               slabp = kmem_cache_alloc_node(cachep->slabp_cache,
--                                            local_flags & ~GFP_THISNODE, nodeid);
-+                                            local_flags, nodeid);
-               if (!slabp)
-                       return NULL;
-       } else {