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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aGKQlSNmF5ELFaYB@localhost.localdomain>
Date: Mon, 30 Jun 2025 15:26:45 +0200
From: Oscar Salvador <osalvador@...e.de>
To: Oscar Salvador <osalvador.vilardaga@...il.com>
Cc: Gavin Guo <gavinguo@...lia.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	David Hildenbrand <david@...hat.com>,
	Muchun Song <muchun.song@...ux.dev>, Peter Xu <peterx@...hat.com>,
	Linux Memory Management List <linux-mm@...ck.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 1/5] mm,hugetlb: Change mechanism to detect a COW on
 private mapping

On Sun, Jun 29, 2025 at 10:12:06PM +0200, Oscar Salvador wrote:
> Nevermind, I just wrote my own reproducer.
> I see two ways of fixing this, the simpler being a trylock instead of a
> lock, like the original code did.
> I'll sleep on it and fix it tomorrow.

I crafted the fix, and now my reproducer no longer reproduces the
problem.
Also, with the fix the whole lock-unlock dance becomes much more simple.
I'll send out a v4 later today.

 

-- 
Oscar Salvador
SUSE Labs

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ