Skip to content

Mem accounting and IRQ req cache

Jens Axboe io-uring 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3io_uring: enable req cache for IRQ driven IOfs/io_uring.c+51 -200 replies
2/3io_uring: enable kmemcg account for io_uring requestsfs/io_uring.c+2 -10 replies
3/3io_uring: place ring SQ/CQ arrays under memcg memory limitsfs/io_uring.c+10 -750 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCHES 0/3] Mem accounting and IRQ req cache

Hi,

This builds on the stuff that Pavel and I have been tossing around:

Patch 1: Enable req cache for the last class of requests, those that end
up completing from IRQ context. That's regular file/bdev reads and writes.

Patch 2: Enable SLAB_ACCOUNT/memcg accounting for requests

Patch 3: Use memcg for the ring array accounting as well. That moves it
outside of rlimit memlock, though we retain memlock accounting for registered buffers.

Signature · 1 line
Jens Axboe