Re: [PATCH] bcachefs: mark bch_inode_info and bkey_cached as reclaimable

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



On Thu, Jul 13, 2023 at 06:00:28PM +0200, Mikulas Patocka wrote:
> Mark these caches as reclaimable, so that available memory is correctly
> reported when there is a lot of cached inodes.
> 
> Note that more work is needed - you should add __GFP_RECLAIMABLE to some 
> of the kmalloc calls, so that they are allocated from the "kmalloc-rcl-*" 
> caches.

What's that actualy do? grepping for __GFP_RECLAIMABLE doesn't turn up
much. Is it just about segragating objects based on expected lifetime,
or is there more going on?



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux