Re: [PATCH 0/2] mark some slabs as visible not mergeable
From: Matthew Wilcox <willy@infradead.org>
Date: 2018-02-24 21:05:19
Also in:
linux-mm
From: Matthew Wilcox <willy@infradead.org>
Date: 2018-02-24 21:05:19
Also in:
linux-mm
On Sat, Feb 24, 2018 at 11:04:52AM -0800, Stephen Hemminger wrote:
This fixes an old bug in iproute2's ss command because it was reading slabinfo to get statistics. There isn't a better API to do this, and one can argue that /proc is a UAPI that must not change. Therefore this patch set adds a flag to slab to give another reason to prevent merging, and then uses it in network code.
This is exactly the solution I would have suggested. Note that SLUB has always had slab merging, so this tool has been broken since 2.6.22 on any kernel with CONFIG_SLUB. Reviewed-by: Matthew Wilcox <redacted> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>