Skip to content

mm: Explicitly check & doc fragsz limit

Haiyang Zhang linux-doc linux-hyperv linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm: page_frag: Check fragsz at the beginning of __page_frag_alloc_align()mm/page_frag_cache.c+9 -132 replies
2/2docs/mm: Specify page frag size is not bigger than PAGE_SIZEDocumentation/mm/page_frags.rst+1 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] mm: Explicitly check & doc fragsz limit

The page frag allocator is not designed for fragsz > PAGE_SIZE. Explicitly check it in the function & document the fragsz limit.

Haiyang Zhang (2):
mm: page_frag: Check fragsz at the beginning of __page_frag_alloc_align() docs/mm: Specify page frag size is not bigger than PAGE_SIZE

 Documentation/mm/page_frags.rst |  2 +-
 mm/page_frag_cache.c            | 22 +++++++++-------------
 2 files changed, 10 insertions(+), 14 deletions(-)
Signature · 1 line
2.34.1