[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0d39e26f-b641-e142-6c90-7f4bcf91fc21@suse.cz>
Date: Wed, 26 May 2021 17:07:56 +0200
From: Vlastimil Babka <vbabka@...e.cz>
To: Faiyaz Mohammed <faiyazm@...eaurora.org>,
Greg KH <gregkh@...uxfoundation.org>
Cc: cl@...ux.com, penberg@...nel.org, rientjes@...gle.com,
iamjoonsoo.kim@....com, akpm@...ux-foundation.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
glittao@...il.com, vinmenon@...eaurora.org
Subject: Re: [PATCH v7] mm: slub: move sysfs slab alloc/free interfaces to
debugfs
On 5/26/21 5:06 PM, Faiyaz Mohammed wrote:
>> How about simply replicating the empty function in
>> include/linux/slab_def.h
>>
> Yes, we can add empty function in include/linux/slab_def.h.
> I will add in next patch version.
>
>> We could do the same with SYSFS, except the SLAB (and SLUB w/o SYSFS) versions
>> of sysfs_slab_release() would not be empty, but just call
>> slab_kmem_cache_release(s);
>> Then we could get rid of the #ifdef's completely?
>>
> Is it okay, if I raise separate patch for sysfs by adding empty function
> in slab_def.h?
Yeah that would be cleaner. Thanks.
> Thanks and regards,
> Mohammed Faiyaz
>>> greg k-h
>>>
>>
>
Powered by blists - more mailing lists