Re: [PATCH v4 4/9] binder: remove struct binder_lru_page
From: Greg Kroah-Hartman
Date: Tue Nov 19 2024 - 15:00:44 EST
On Tue, Nov 19, 2024 at 07:10:49PM +0000, Matthew Wilcox wrote:
> On Tue, Nov 19, 2024 at 06:32:37PM +0000, Carlos Llamas wrote:
> > Remove the redundant struct binder_lru_page concept. Instead, let's use
> > available struct page->lru and page->private members directly to achieve
> > the same functionality.
>
> I'm not entirely happy to see this. I expect to start a patch series in
> the next six months which will remove users of page->lru. page->private
> is OK for now. The goal is to shrink struct page to 8 bytes, but I
> accept that 16 bytes may be the best we can do.
Can't whatever way the replacement for lru is going to be in the future
be used here as well?
thanks,
greg k-h