Re: [PATCH] dma-buf: heaps: Set allocation orders for larger page sizes

2025-04-17 Thread Juan Yescas
On Thu, Apr 17, 2025 at 1:06 AM Christian König wrote: > > Am 16.04.25 um 23:51 schrieb Juan Yescas: > > On Wed, Apr 16, 2025 at 4:34 AM Christian König > wrote: > > > Am 15.04.25 um 19:19 schrieb Juan Yescas: > > This change sets the allocation orders for the different page sizes > (4k, 16k, 64k

Re: [PATCH] dma-buf: heaps: Set allocation orders for larger page sizes

2025-04-17 Thread Christian König
Am 16.04.25 um 23:51 schrieb Juan Yescas: > On Wed, Apr 16, 2025 at 4:34 AM Christian König > wrote: >> >> >> Am 15.04.25 um 19:19 schrieb Juan Yescas: >>> This change sets the allocation orders for the different page sizes >>> (4k, 16k, 64k) based on PAGE_SHIFT. Before this change, the orders >>>

Re: [PATCH] dma-buf: heaps: Set allocation orders for larger page sizes

2025-04-16 Thread Juan Yescas
On Wed, Apr 16, 2025 at 4:34 AM Christian König wrote: > > > > Am 15.04.25 um 19:19 schrieb Juan Yescas: > > This change sets the allocation orders for the different page sizes > > (4k, 16k, 64k) based on PAGE_SHIFT. Before this change, the orders > > for large page sizes were calculated incorrect

Re: [PATCH] dma-buf: heaps: Set allocation orders for larger page sizes

2025-04-16 Thread Christian König
Am 15.04.25 um 19:19 schrieb Juan Yescas: > This change sets the allocation orders for the different page sizes > (4k, 16k, 64k) based on PAGE_SHIFT. Before this change, the orders > for large page sizes were calculated incorrectly, this caused system > heap to allocate from 2% to 4% more memory

RE: [PATCH] dma-buf: heaps: Set allocation orders for larger page sizes

2025-04-16 Thread 김재원
er.kernel.org; dri- > de...@lists.freedesktop.org; linaro-mm-...@lists.linaro.org; linux- > ker...@vger.kernel.org; bao...@kernel.org; dmitry.osipe...@collabora.com; > jaewon31@samsung.com; guangming@mediatek.com; sur...@google.com; > kaleshsi...@google.com > Subject: Re: [PATCH] dma-buf: heaps

Re: [PATCH] dma-buf: heaps: Set allocation orders for larger page sizes

2025-04-15 Thread Juan Yescas
; guangming@mediatek.com; sur...@google.com; > > kaleshsi...@google.com > > Subject: Re: [PATCH] dma-buf: heaps: Set allocation orders for larger page > > sizes > > > > On Tue, Apr 15, 2025 at 10:20 AM Juan Yescas wrote: > > > > > > This change sets the

Re: [PATCH] dma-buf: heaps: Set allocation orders for larger page sizes

2025-04-15 Thread T.J. Mercier
On Tue, Apr 15, 2025 at 10:20 AM Juan Yescas wrote: > > This change sets the allocation orders for the different page sizes > (4k, 16k, 64k) based on PAGE_SHIFT. Before this change, the orders > for large page sizes were calculated incorrectly, this caused system > heap to allocate from 2% to 4% m

Re: [PATCH] dma-buf: heaps: Set allocation orders for larger page sizes

2025-04-15 Thread John Stultz
On Tue, Apr 15, 2025 at 10:20 AM Juan Yescas wrote: > > This change sets the allocation orders for the different page sizes > (4k, 16k, 64k) based on PAGE_SHIFT. Before this change, the orders > for large page sizes were calculated incorrectly, this caused system > heap to allocate from 2% to 4% m

[PATCH] dma-buf: heaps: Set allocation orders for larger page sizes

2025-04-15 Thread Juan Yescas
This change sets the allocation orders for the different page sizes (4k, 16k, 64k) based on PAGE_SHIFT. Before this change, the orders for large page sizes were calculated incorrectly, this caused system heap to allocate from 2% to 4% more memory on 16KiB page size kernels. This change was tested