VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Vlastimil Babka <vbabka@suse.cz> 2021-05-28 14:32:10 +0200 committer: Vlastimil Babka <vbabka@suse.cz> 2021-09-03 23:56:49 +0200 commit: eafb1d64030abf5f885026c2074d120c13e0ca9d parent: 7d2a07b769330c34b4deabeed939325c77a7ec2f
Commit Summary:
mm, slub: don't call flush_all() from slab_debug_trace_open()
Diffstat:
1 file changed, 0 insertions, 3 deletions
diff --git a/mm/slub.c b/mm/slub.c
index f77d8cd79ef7..f6063ec97a55 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -5825,9 +5825,6 @@ static int slab_debug_trace_open(struct inode *inode, struct file *filep)
 	if (!alloc_loc_track(t, PAGE_SIZE / sizeof(struct location), GFP_KERNEL))
 		return -ENOMEM;
 
-	/* Push back cpu slabs */
-	flush_all(s);
-
 	for_each_kmem_cache_node(s, node, n) {
 		unsigned long flags;
 		struct page *page;