Messages in this thread | | | Subject | Re: [PATCH v11] mm: slub: move sysfs slab alloc/free interfaces to debugfs | From | Vlastimil Babka <> | Date | Tue, 8 Jun 2021 11:41:46 +0200 |
| |
On 6/8/21 10:45 AM, Faiyaz Mohammed wrote: > alloc_calls and free_calls implementation in sysfs have two issues, > one is PAGE_SIZE limitation 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 > implementation to debugfs. > > Debugfs cache will be created if SLAB_STORE_USER flag is set. > > Rename the alloc_calls/free_calls to alloc_traces/free_traces, > to be inline with what it does. > > Signed-off-by: Faiyaz Mohammed <faiyazm@codeaurora.org>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Thanks!
| |