public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: io-uring@vger.kernel.org
Cc: dw@davidwei.uk, hengyul@cs.unc.edu
Subject: [PATCHSET 0/2] Fix memlock account for kernel backed memory
Date: Wed,  7 Oct 2026 15:38:55 -0600	[thread overview]
Message-ID: <20261007213903.445430-1-axboe@kernel.dk> (raw)

Hi,

Traditionally, kernel allocated memory did not account against memlock
limits, but a change in 6.14 inadvertently broke that. Reinstate the old
behavior.

Split into 2 patches for ease of backporting, and based on this original
patch and report:

https://lore.kernel.org/io-uring/20261006125732.3425762-1-hengyul@cs.unc.edu/

-- 
Jens Axboe


             reply	other threads:[~2026-10-07 21:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-07 21:38 Jens Axboe [this message]
2026-10-07 21:38 ` [PATCH 1/2] Revert "io_uring/memmap: account the pages a compound region really uses" Jens Axboe
2026-10-07 21:38 ` [PATCH 2/2] io_uring/memmap: only charge pinned user memory to RLIMIT_MEMLOCK Jens Axboe
2026-10-08  4:57   ` Hengyu Liang

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=20261007213903.445430-1-axboe@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=dw@davidwei.uk \
    --cc=hengyul@cs.unc.edu \
    --cc=io-uring@vger.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