+ slab-common-add-functions-for-kmem_cache_node-access-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: SLOB has no node specific management structures.
has been added to the -mm tree.  Its filename is
     slab-common-add-functions-for-kmem_cache_node-access-fix.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/slab-common-add-functions-for-kmem_cache_node-access-fix.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/slab-common-add-functions-for-kmem_cache_node-access-fix.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Christoph Lameter <cl@xxxxxxxxxx>
Subject: SLOB has no node specific management structures.

Do not provide the defintions for node management structures for SLOB.

Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>
Reported-by: Wu Fengguang <fengguang.wu@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/slab.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff -puN mm/slab.h~slab-common-add-functions-for-kmem_cache_node-access-fix mm/slab.h
--- a/mm/slab.h~slab-common-add-functions-for-kmem_cache_node-access-fix
+++ a/mm/slab.h
@@ -262,7 +262,7 @@ static inline struct kmem_cache *cache_f
 }
 #endif
 
-
+#ifndef CONFIG_SLOB
 /*
  * The slab lists for all objects.
  */
@@ -307,5 +307,7 @@ static inline struct kmem_cache_node *ge
 	for (__node = 0; __n = get_node(__s, __node), __node < nr_node_ids; __node++) \
 		 if (__n)
 
+#endif
+
 void *slab_next(struct seq_file *m, void *p, loff_t *pos);
 void slab_stop(struct seq_file *m, void *p);
_

Patches currently in -mm which might be from cl@xxxxxxxxxx are

slab-maintainer-update.patch
mm-let-mm_find_pmd-fix-buggy-race-with-thp-fault.patch
slab-common-add-functions-for-kmem_cache_node-access-fix.patch
slub-use-new-node-functions-fix.patch
slab-use-get_node-and-kmem_cache_node-functions-fix.patch
slab-use-get_node-and-kmem_cache_node-functions-fix-2.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux