linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v9 0/1] kasan: Avoid sleepable page allocation from atomic context
@ 2025-05-15 13:55 Alexander Gordeev
  2025-05-15 13:55 ` [PATCH v9 1/1] " Alexander Gordeev
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Gordeev @ 2025-05-15 13:55 UTC (permalink / raw)
  To: Andrew Morton, Andrey Ryabinin, Daniel Axtens, Harry Yoo
  Cc: linux-kernel, linux-mm, kasan-dev, linux-s390, stable

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(-)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-17 11:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-15 13:55 [PATCH v9 0/1] kasan: Avoid sleepable page allocation from atomic context Alexander Gordeev
2025-05-15 13:55 ` [PATCH v9 1/1] " Alexander Gordeev
2025-05-17 11:18   ` Harry Yoo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).