Re: [PATCH v6] mm: slub: move sysfs slab alloc/free interfaces to debugfs
From: Faiyaz Mohammed <hidden>
Date: 2021-05-19 10:49:31
Also in:
lkml
From: Faiyaz Mohammed <hidden>
Date: 2021-05-19 10:49:31
Also in:
lkml
Hi, On 5/18/2021 6:58 PM, Greg KH wrote:
On Tue, May 18, 2021 at 06:15:49PM +0530, Faiyaz Mohammed wrote:quoted
alloc_calls and free_calls implementation in sysfs have two issues, one is PAGE_SIZE limitiation of sysfs and other is it does not adhere to "one value per file" rule. To overcome this issues, move the alloc_calls and free_calls implemeation to debugfs. Rename the alloc_calls/free_calls to alloc_traces/free_traces, to be inline with what it does. Reported-by: kernel test robot <redacted> Reported-by: Dan Carpenter <redacted> Signed-off-by: Faiyaz Mohammed <redacted> --- include/linux/slub_def.h | 8 ++ mm/slab_common.c | 9 ++ mm/slub.c | 359 ++++++++++++++++++++++++++++++++++++----------- 3 files changed, 294 insertions(+), 82 deletions(-)If this is v6, what happened in v1-5? That should always be below the--- line, right?
Will update in next patch version. Thanks and regards, Mohammed Faiyaz