Re: [PATCH 0/5] Remove/convert more kmem_* wrappers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 20, 2019 at 11:44:20AM +0100, Carlos Maiolino wrote:
> Hi,
> 
> in this new series, we remove most of the remaining kmem_* wrappers.
> 
> All of the wrappers being removed in this series can be directly replaced by
> generic kernel kmalloc()/kzalloc() interface.
> 
> Only interface kept is kmem_alloc() but has been converted into a local helper.
> 
> This series should be applied on top of my previous series aiming to clean up
> our memory allocation interface.
> 
> 
> Darrick, I believe this is slightly different from what you suggested
> previously, about converting kmem_* interfaces to use GFP flags directly. At
> least I read that as keeping current kmem_* interface, and getting rid of KM_*
> flags now.
> 
> But, I believe these patches does not change any allocation logic, and after the
> series we are left with fewer users of KM_* flags users to get rid of, which
> IMHO will be easier. And also I already had the patches mostly done :)
> 
> Let me know if this is ok for you.
> 
> 
> Carlos Maiolino (5):
>   xfs: remove kmem_zone_zalloc()
>   xfs: Remove kmem_zone_alloc() wrapper
>   xfs: remove kmem_zalloc() wrapper
>   xfs: Remove kmem_realloc
>   xfs: Convert kmem_alloc() users

Hmmm, just noticed that this never got merged. Whatever happened to
this patchset?

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux