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: <D9P3X0NLQMW5.1J74MJ7FDRBFB@google.com>
Date: Tue, 06 May 2025 13:20:25 +0000
From: Brendan Jackman <jackmanb@...gle.com>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>, <akpm@...ux-foundation.org>, 
	<vbabka@...e.cz>, <surenb@...gle.com>, <mhocko@...e.com>, 
	<hannes@...xchg.org>, <bp@...en8.de>, <tglx@...utronix.de>, 
	<david@...hat.com>
Cc: <ast@...nel.org>, <linux-mm@...ck.org>, <linux-coco@...ts.linux.dev>, 
	<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] mm/page_alloc: Ensure try_alloc_pages() plays well
 with unaccepted memory

On Tue May 6, 2025 at 11:25 AM UTC, Kirill A. Shutemov wrote:
> +	/* Bailout, since try_to_accept_memory_one() needs to take a lock */
> +	if (alloc_flags & ALLOC_TRYLOCK)
> +		return false;
> +

Quick lazy question: why don't we just trylock it like we do for the zone
lock?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ