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]
Date:   Thu, 15 Jul 2021 16:22:40 +0100
From:   Matthew Wilcox <willy@...radead.org>
To:     Bin Wang <wangbin224@...wei.com>
Cc:     linux-mm@...ck.org, naoya.horiguchi@....com,
        akpm@...ux-foundation.org, wuxu.wu@...wei.com,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/hwpoison: dissolve error hugepages of file mapping

On Thu, Jul 15, 2021 at 11:08:52PM +0800, Bin Wang wrote:
> We handle error on hugetlb file with hugetlbfs_error_remove_page(),
> which removes the error hugepages from page cache. And with the
> HWPoison flag in head page, it is safe to free the error hugepages
> and dissolve it.

How is that safe?  If you're going to dissolve the huge page, you
need to figure out which subpage needs to have the HWPoison flag set.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ