Re: [PATCH 09/12][RFC v3] x86-32, hibernate: Switch to original page table after resumed
From: Pavel Machek
Date: Thu Sep 20 2018 - 18:05:53 EST
On Wed 2018-09-19 15:43:05, Chen Yu wrote:
> From: Zhimin Gu <kookoo.gu@xxxxxxxxx>
>
> After all the pages are restored to previous address, the page
> table switches back to current swapper_pg_dir. However the
> swapper_pg_dir currently in used might not be consistent with
> previous page table, which might cause issue after resumed.
>
> Fix this issue by switching to original page table after resumed.
"after resume".
Acked-by: Pavel Machek <pavel@xxxxxx>