Thread (14 messages) read the whole thread 14 messages, 5 authors, 2023-09-21

Re: [PATCH] mm: hugetlb: kill set_huge_swap_pte_at()

From: Anshuman Khandual <hidden>
Date: 2022-06-28 05:48:12
Also in: linux-mm, lkml


On 6/27/22 20:04, Matthew Wilcox wrote:
On Mon, Jun 27, 2022 at 01:05:00PM +0530, Anshuman Khandual wrote:
quoted
quoted
For the swap entry of hugetlb, we need to remember that we should
call set_huge_swap_pte_at() instead of set_huge_pte_at() every
Which is intuitive, so what is the problem ?
The problem is that HugeTLB is DIFFERENT from the rest of the VM.
Agreed.
This has a huge cost in programmer time, which is infinitely more
valuable than the cycle shaving you're quibbling over.  We should take
any and every opportunity to make huge pages work the same way as THP
and order-0 pages.
Got it.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help