Skip to content

Fix memlock account for kernel backed memory

Jens Axboe io-uring lkml netdev stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Revert "io_uring/memmap: account the pages a compound region really uses"io_uring/memmap.c+7 -300 replies
2/2io_uring/memmap: only charge pinned user memory to RLIMIT_MEMLOCKio_uring/memmap.c+19 -96 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchHengyu Liang
1/2
2/2T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCHSET 0/2] Fix memlock account for kernel backed memory

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/[email protected]/

Signature · 1 line
Jens Axboe