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] [day] [month] [year] [list]
Message-Id: <20250321165311.fac5a8d9b37c69d977df210b@linux-foundation.org>
Date: Fri, 21 Mar 2025 16:53:11 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: David Hildenbrand <david@...hat.com>
Cc: Vlastimil Babka <vbabka@...e.cz>, Gavin Shan <gshan@...hat.com>,
 linux-mm@...ck.org, linux-kernel@...r.kernel.org, willy@...radead.org,
 linmiaohe@...wei.com, gehao@...inos.cn, shan.gavin@...il.com
Subject: Re: [PATCH v2 2/2] mm/debug: Fix parameter passed to
 page_mapcount_is_type()

On Fri, 21 Mar 2025 16:38:29 +0100 David Hildenbrand <david@...hat.com> wrote:

> >> -	mapcount = page_mapcount_is_type(mapcount) ? 0 : mapcount + 1;
> >> +	mapcount = page_mapcount_is_type(mapcount) ? 0 : mapcount;
> > 
> > At this point it would be perhaps more obvious:
> > 
> > if (page_mapcount_is_type(mapcount))
> > 	mapcount = 0;
> 
> Agreed, maybe Andrew can fix that up.

Sure.  I'll be adding this series to the 6.15-rc1 pile.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ