Thread (14 messages) 14 messages, 6 authors, 2024-10-03

Re: [PATCH] btrfs: root memcgroup for metadata filemap_add_folio()

From: Michal Hocko <mhocko@suse.com>
Date: 2024-10-03 08:22:26
Also in: linux-btrfs, linux-mm

On Thu 03-10-24 17:41:23, Qu Wenruo wrote:
[...]
Just a little curious, would it be better to introduce a flag for
address_space to indicate whether the folio needs to be charged or not?
I would say that an explicit interface seems better because it is easier
to find (grep) and reason about. If you make this address space property
then it is really hard to find all the callers.

-- 
Michal Hocko
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help