Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Down <chris@chrisdown.name>
To: Mike Rapoport <rppt@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	David Hildenbrand <david@kernel.org>,
	Chris Mason <mason@kernel.org>, Peter Xu <peterx@redhat.com>,
	linux-mm@kvack.org
Subject: Re: [PATCH 1/2] mm/userfaultfd: account memory allocated for unmap events
Date: Wed, 02 Dec 2026 15:16:35 -0800	[thread overview]
Message-ID: <axCm0wXyMbYOTHys@chrisdown.name> (raw)
In-Reply-To: <20261129-fixes-uffd-fork-acct-v1-1-f39cc449d92c@kernel.org>

Hi Mike,

Thanks, I've confirmed that with munmap()s blocked on unread unmap events,
the unmap contexts were not charged to the memcg before this patch and are
charged with it.

Reviewed-by: Chris Down <chris@chrisdown.name>
Tested-by: Chris Down <chris@chrisdown.name>

Chris


  parent reply	other threads:[~2026-12-02 23:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 16:25 [PATCH 0/2] mm/userfaultfd: fixes for unmap and fork events Mike Rapoport
2026-11-29 16:25 ` [PATCH 1/2] mm/userfaultfd: account memory allocated for unmap events Mike Rapoport
2026-11-30 10:45   ` David Hildenbrand (Arm)
2026-12-02 23:16   ` Chris Down [this message]
2026-11-29 16:25 ` [PATCH 2/2] mm/userfaultfd: drop fork context reference outside event_wqh.lock Mike Rapoport
2026-11-30 10:46   ` David Hildenbrand (Arm)
2026-12-02 23:16   ` Chris Down
2026-11-29 17:58 ` [PATCH 0/2] mm/userfaultfd: fixes for unmap and fork events Jose A. Perez de Azpillaga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=axCm0wXyMbYOTHys@chrisdown.name \
    --to=chris@chrisdown.name \
    --cc=akpm@linux-foundation.org \
    --cc=david@kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mason@kernel.org \
    --cc=peterx@redhat.com \
    --cc=rppt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox