The patch titled Subject: slab: fix starting index for finding another object has been added to the -mm tree. Its filename is slab-fix-starting-index-for-finding-another-object.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: Joonsoo Kim <js1304@xxxxxxxxx> Subject: slab: fix starting index for finding another object In array cache, there is a object at index 0, check it. Signed-off-by: Joonsoo Kim <js1304@xxxxxxxxx> Signed-off-by: Mel Gorman <mgorman@xxxxxxx> Cc: David Miller <davem@xxxxxxxxxxxxx> Cc: Chuck Lever <chuck.lever@xxxxxxxxxx> Cc: David Rientjes <rientjes@xxxxxxxxxx> Cc: Pekka Enberg <penberg@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/slab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/slab.c~slab-fix-starting-index-for-finding-another-object mm/slab.c --- a/mm/slab.c~slab-fix-starting-index-for-finding-another-object +++ a/mm/slab.c @@ -983,7 +983,7 @@ static void *__ac_get_obj(struct kmem_ca } /* The caller cannot use PFMEMALLOC objects, find another one */ - for (i = 1; i < ac->avail; i++) { + for (i = 0; i < ac->avail; i++) { /* If a !PFMEMALLOC object is found, swap them */ if (!is_obj_pfmemalloc(ac->entry[i])) { objp = ac->entry[i]; _ Patches currently in -mm which might be from js1304@xxxxxxxxx are slab-do-clearslabpfmemalloc-for-all-pages-of-slab.patch slab-fix-starting-index-for-finding-another-object.patch slub-consider-pfmemalloc_match-in-get_partial_node.patch include-net-sockh-squelch-compiler-warning-in-sk_rmem_schedule.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