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: <20260113152253.4438f2eece9d01c64888c25f@linux-foundation.org>
Date: Tue, 13 Jan 2026 15:22:53 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Jane Chu <jane.chu@...cle.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
 stable@...r.kernel.org, muchun.song@...ux.dev, osalvador@...e.de,
 david@...nel.org, linmiaohe@...wei.com, jiaqiyan@...gle.com,
 william.roche@...cle.com, rientjes@...gle.com, lorenzo.stoakes@...cle.com,
 Liam.Howlett@...cle.com, rppt@...nel.org, surenb@...gle.com,
 mhocko@...e.com, willy@...radead.org
Subject: Re: [PATCH v4 1/2] mm/memory-failure: fix missing ->mf_stats count
 in hugetlb poison

On Tue, 13 Jan 2026 01:07:50 -0700 Jane Chu <jane.chu@...cle.com> wrote:

> When a newly poisoned subpage ends up in an already poisoned hugetlb
> folio, 'num_poisoned_pages' is incremented, but the per node ->mf_stats
> is not. Fix the inconsistency by designating action_result() to update
> them both.
> 
> While at it, define __get_huge_page_for_hwpoison() return values in terms
> of symbol names for better readibility. Also rename
> folio_set_hugetlb_hwpoison() to hugetlb_update_hwpoison() since the
> function does more than the conventional bit setting and the fact
> three possible return values are expected.

Thanks.  This looks rather different from the previous version so I
moved it to the tail of the mm-hotfixes queue for additional
test/review time.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ