[PATCH] arm64/mm: remove useless trans_pgd_map_page()

Pingfan Liu kernelfans at gmail.com
Wed Apr 7 07:00:15 BST 2021


On Wed, Apr 7, 2021 at 12:58 AM Pavel Tatashin
<pasha.tatashin at soleen.com> wrote:
>
> Hi Pingfan,
>
> On Tue, Apr 6, 2021 at 9:14 AM Pingfan Liu <kernelfans at gmail.com> wrote:
> >
> > Since the commit 7018d467ff2d ("arm64: trans_pgd: hibernate: idmap the
> > single page that holds the copy page routines"), trans_pgd_map_page() is
> > useless.
>
> Let's keep this function for now. This function is used in my version
> 11 of mmu enabled kexec patches; but not used in version 12 where we
> changed to a linear map instead of contiguous map. However, until the
> final solution for mmu-enabled kexec lands in the mainline, I think it
> is better to keep it.
>
Got it.

Thanks,
Pingfan



More information about the linux-arm-kernel mailing list