Re: [PATCH v2] mm: clean up redundant code

From: David Hildenbrand
Date: Fri May 09 2025 - 04:22:31 EST


On 09.05.25 04:44, Barry Song wrote:
On Fri, May 9, 2025 at 1:54 PM Feng Lee <379943137@xxxxxx> wrote:

Remove pgd_offset_gate() completely and simply make the single
caller use pgd_offset()

"."


It appears that the gate area resides in the kernel-mapped segment
exclusively on IA64. Therefore, removing pgd_offset_k is safe since
IA64 is now obsolete.

Signed-off-by: Feng Lee <379943137@xxxxxx>


Better to rename the subject to be more specific, e.g. "mm: remove
obsolete pgd_offset_gate()" or similar. Otherwise,

With that

Acked-by: David Hildenbrand <david@xxxxxxxxxx>

Thanks!

--
Cheers,

David / dhildenb