Re: [PATCH v2] powerpc/mm: Code cleanup for __hash_page_thp

2024-03-13 Thread Michael Ellerman
On Fri, 01 Mar 2024 16:58:34 +0800, Kunwu Chan wrote: > This part was commented from commit 6d492ecc6489 > ("powerpc/THP: Add code to handle HPTE faults for hugepages") > in about 11 years before. > > If there are no plans to enable this part code in the future, > we can remove this dead code and

[PATCH v2] powerpc/mm: Code cleanup for __hash_page_thp

2024-03-01 Thread Kunwu Chan
This part was commented from commit 6d492ecc6489 ("powerpc/THP: Add code to handle HPTE faults for hugepages") in about 11 years before. If there are no plans to enable this part code in the future, we can remove this dead code and replace with a comment explaining what the dead code was trying