Messages in this thread | | | Subject | Re: [PATCH v6] mm: slub: move sysfs slab alloc/free interfaces to debugfs | From | Faiyaz Mohammed <> | Date | Wed, 19 May 2021 16:18:20 +0530 |
| |
Hi,
On 5/18/2021 6:58 PM, Greg KH wrote: > On Tue, May 18, 2021 at 06:15:49PM +0530, Faiyaz Mohammed wrote: >> 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 <lkp@intel.com> >> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> >> Signed-off-by: Faiyaz Mohammed <faiyazm@codeaurora.org> >> --- >> 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
| |