Thread (8 messages) 8 messages, 3 authors, 2021-07-08

Re: page pools, was Re: [PATCH v9 1/5] drm: Add a sharable drm page-pool implementation

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-07-08 04:21:27
Also in: linux-media, lkml

On Wed, Jul 07, 2021 at 12:35:23PM -0700, John Stultz wrote:
So, as Christian mentioned, on the TTM side it's useful, as they are
trying to avoid TLB flushes when changing caching attributes.

For the dmabuf system heap purposes, the main benefit is moving the
page zeroing to the free path, rather than the allocation path. This
on its own doesn't save much, but allows us to defer frees (and thus
the zeroing) to the background, which can get that work out of the hot
path.
I really do no think that is worth it to fragment the free pages.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help