lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAO_48GHqPj_OXd0V-k6YG837wHBKBpOCjRbMN-kbkF=nK+_s2w@mail.gmail.com>
Date: Mon, 19 Jan 2026 18:39:13 +0530
From: Sumit Semwal <sumit.semwal@...aro.org>
To: "T.J. Mercier" <tjmercier@...gle.com>
Cc: Eric Chanudet <echanude@...hat.com>, 
	Benjamin Gaignard <benjamin.gaignard@...labora.com>, Brian Starkey <Brian.Starkey@....com>, 
	John Stultz <jstultz@...gle.com>, Christian König <christian.koenig@....com>, 
	Maxime Ripard <mripard@...hat.com>, linux-media@...r.kernel.org, 
	dri-devel@...ts.freedesktop.org, linaro-mm-sig@...ts.linaro.org, 
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/2] dma-buf: system_heap: account for system heap
 allocation in memcg

Hello Eric,

On Sat, 17 Jan 2026 at 04:07, T.J. Mercier <tjmercier@...gle.com> wrote:
>
> On Fri, Jan 16, 2026 at 12:06 PM Eric Chanudet <echanude@...hat.com> wrote:
> >
> > The system dma-buf heap lets userspace allocate buffers from the page
> > allocator. However, these allocations are not accounted for in memcg,
> > allowing processes to escape limits that may be configured.
> >
> > Pass __GFP_ACCOUNT for system heap allocations, based on the
> > dma_heap.mem_accounting parameter, to use memcg and account for them.
> >
> > Signed-off-by: Eric Chanudet <echanude@...hat.com>
>
> Reviewed-by: T.J. Mercier <tjmercier@...gle.com>

Thank you for the series; LGTM, I'll push it tonight to drm-misc-next.

Best,
Sumit.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ