lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aKxZp_GgYVzp8Uvt@casper.infradead.org>
Date: Mon, 25 Aug 2025 13:40:07 +0100
From: Matthew Wilcox <willy@...radead.org>
To: yangshiguang1011@....com
Cc: harry.yoo@...cle.com, vbabka@...e.cz, akpm@...ux-foundation.org,
	cl@...two.org, rientjes@...gle.com, roman.gushchin@...ux.dev,
	glittao@...il.com, linux-mm@...ck.org, linux-kernel@...r.kernel.org,
	yangshiguang <yangshiguang@...omi.com>, stable@...r.kernel.org
Subject: Re: [PATCH v3] mm: slub: avoid wake up kswapd in set_track_prepare

On Mon, Aug 25, 2025 at 08:17:37PM +0800, yangshiguang1011@....com wrote:
> Avoid deadlock caused by implicitly waking up kswapd by
> passing in allocation flags.
[...]
> +	/* Preemption is disabled in ___slab_alloc() */
> +	gfp_flags &= ~(__GFP_DIRECT_RECLAIM);

If you don't mean __GFP_KSWAPD_RECLAIM here, the explanation needs to
be better.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ