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: <aAhdAgeOXx1S_Z6g@casper.infradead.org>
Date: Wed, 23 Apr 2025 04:22:42 +0100
From: Matthew Wilcox <willy@...radead.org>
To: nifan.cxl@...il.com
Cc: muchun.song@...ux.dev, mcgrof@...nel.org, a.manzanares@...sung.com,
	dave@...olabs.net, akpm@...ux-foundation.org, david@...hat.com,
	linux-mm@...ck.org, linux-kernel@...r.kernel.org,
	Fan Ni <fan.ni@...sung.com>
Subject: Re: [PATCH v2 4/4] mm/hugetlb: Convert use of struct page to folio
 in __unmap_hugepage_range()

On Fri, Apr 18, 2025 at 09:57:42AM -0700, nifan.cxl@...il.com wrote:
>  
> -		tlb_remove_page_size(tlb, page, huge_page_size(h));
> +		tlb_remove_page_size(tlb, folio_page(folio, 0), huge_page_size(h));

Surely this should be:
		tlb_remove_page_size(tlb, folio_page(folio, 0), folio_size(folio));


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ