The patch titled Subject: mm-slab-freelist-randomization-v5-fix has been removed from the -mm tree. Its filename was mm-slab-freelist-randomization-v5-fix.patch This patch was dropped because it was folded into mm-slab-freelist-randomization-v4.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-slab-freelist-randomization-v5-fix propagate gfp_t into cache_random_seq_create() Cc: Christoph Lameter <cl@xxxxxxxxx> Cc: David Rientjes <rientjes@xxxxxxxxxx> Cc: Greg Thelen <gthelen@xxxxxxxxxx> Cc: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx> Cc: Kees Cook <keescook@xxxxxxxxxxxx> Cc: Laura Abbott <labbott@xxxxxxxxxxxxxxxxx> Cc: Pekka Enberg <penberg@xxxxxxxxxx> Cc: Thomas Garnier <thgarnie@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/slab.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff -puN mm/slab.c~mm-slab-freelist-randomization-v5-fix mm/slab.c --- a/mm/slab.c~mm-slab-freelist-randomization-v5-fix +++ a/mm/slab.c @@ -1262,7 +1262,7 @@ static void freelist_randomize(struct rn } /* Create a random sequence per cache */ -static int cache_random_seq_create(struct kmem_cache *cachep) +static int cache_random_seq_create(struct kmem_cache *cachep, gfp_t gfp) { unsigned int seed, count = cachep->num; struct rnd_state state; @@ -1271,7 +1271,7 @@ static int cache_random_seq_create(struc return 0; /* If it fails, we will just use the global lists */ - cachep->random_seq = kcalloc(count, sizeof(freelist_idx_t), GFP_KERNEL); + cachep->random_seq = kcalloc(count, sizeof(freelist_idx_t), gfp); if (!cachep->random_seq) return -ENOMEM; @@ -1290,7 +1290,7 @@ static void cache_random_seq_destroy(str cachep->random_seq = NULL; } #else -static inline int cache_random_seq_create(struct kmem_cache *cachep) +static inline int cache_random_seq_create(struct kmem_cache *cachep, gfp_t gfp) { return 0; } @@ -3999,7 +3999,7 @@ static int enable_cpucache(struct kmem_c int shared = 0; int batchcount = 0; - err = cache_random_seq_create(cachep); + err = cache_random_seq_create(cachep, gfp); if (err) goto end; _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-slab-freelist-randomization-v4.patch mm-rename-_count-field-of-the-struct-page-to-_refcount-fix.patch mm-rename-_count-field-of-the-struct-page-to-_refcount-fix-fix.patch include-linux-apply-__malloc-attribute-checkpatch-fixes.patch include-linux-nodemaskh-create-next_node_in-helper.patch include-linux-nodemaskh-create-next_node_in-helper-fix-fix.patch mm-hugetlbc-use-first_memory_node.patch mm-mempolicyc-offset_il_node-document-and-clarify.patch mm-uninline-page_mapped.patch mm-uninline-page_mapped-checkpatch-fixes.patch memory_hotplug-introduce-config_memory_hotplug_default_online-fix.patch oom-oom_reaper-try-to-reap-tasks-which-skip-regular-oom-killer-path-try-to-reap-tasks-which-skip-regular-memcg-oom-killer-path-fix.patch mm-page_alloc-only-check-pagecompound-for-high-order-pages-fix.patch mm-page_alloc-remove-unnecessary-initialisation-from-__alloc_pages_nodemask-fix.patch mm-page_alloc-shorten-the-page-allocator-fast-path-fix.patch mm-page_alloc-avoid-looking-up-the-first-zone-in-a-zonelist-twice-fix.patch mm-page_alloc-un-inline-the-bad-part-of-free_pages_check-fix.patch mm-page_alloc-defer-debugging-checks-of-freed-pages-until-a-pcp-drain-fix.patch mm-page_alloc-dont-duplicate-code-in-free_pcp_prepare-fix.patch mm-page_alloc-dont-duplicate-code-in-free_pcp_prepare-fix-fix.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