Re: [PATCH 2/5] ANDROID: dma-buf: heaps: Add a shrinker controlled page pool

From: Brian Starkey
Date: Wed Aug 03 2022 - 08:40:46 EST


Hi Olivier,

On Tue, Aug 02, 2022 at 11:58:40AM +0200, Olivier Masse wrote:
> From: John Stultz <john.stultz@xxxxxxxxxx>
>
> This patch adds a simple shrinker controlled page pool to the
> dmabuf heaps subsystem.
>
> This replaces the use of the networking page_pool, over concerns
> that the lack of a shrinker for that implementation may cause
> additional low-memory kills
>
> TODO: Take another pass at trying to unify this w/ the ttm pool
>
> Thoughts and feedback would be greatly appreciated!

Did I miss something, or is this not actually used anywhere?

Thanks,
-Brian