Skip to content

kasan: Avoid sleepable page allocation from atomic context

Alexander Gordeev linux-mm linux-s390 lkml stable 9 versions – Applied

Status from this message: [merged mm-hotfixes-stable] kasan-avoid-sleepable-page-allocation-from-atomic-context-v9.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest1 patch 1 replyApplied 1/1
  2. v81 patch 2 repliesSuperseded
  3. v71 patch 3 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v61 patch3 repliesSuperseded
v51 patch2 repliesSuperseded
v41 patch1 replySuperseded
v31 patch5 repliesSuperseded
v23 patches6 repliesSuperseded
v14 patches9 repliesSuperseded

Patches in v9 All 1 applied

#Subject and filesSizeRepliesApplied
1/1kasan: Avoid sleepable page allocation from atomic contextmm/kasan/shadow.c+78 -141 replyApplied

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchHarry Yoo
1/1R-b

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

Read the v9 thread

Cover letter [PATCH v9 0/1] kasan: Avoid sleepable page allocation from atomic context

Hi All,

I dropped Harry Yoo's Reviewed-by from this version.

Chages since v8:
- fixed page_owner=on issue preventing bulk allocations on x86

Chages since v7:
- drop "unnecessary free pages" optimization
- fix error path page leak

Chages since v6:
- do not unnecessary free pages across iterations

Chages since v5:
- full error message included into commit description

Chages since v4:
- unused pages leak is avoided

Chages since v3:
- pfn_to_virt() changed to page_to_virt() due to compile error

Chages since v2:
- page allocation moved out of the atomic context

Chages since v1:
- Fixes: and -stable tags added to the patch description

Thanks!

Alexander Gordeev (1):
kasan: Avoid sleepable page allocation from atomic context

 mm/kasan/shadow.c | 92 +++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 78 insertions(+), 14 deletions(-)
Signature · 1 line
2.45.2