x86: don't wrongly trigger linear page table assertion (2)
authorJan Beulich <jbeulich@suse.com>
Tue, 12 Dec 2017 13:27:34 +0000 (14:27 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 12 Dec 2017 13:27:34 +0000 (14:27 +0100)
commite40b0219a8c77741ae48989efb520f4a762a5be3
treed06130be718cbdf0cc8fe56757363ee081ae9fb4
parentc6c2fc6e4919a1420096b94a4ba8682f20e92709
x86: don't wrongly trigger linear page table assertion (2)

_put_final_page_type(), when free_page_type() has exited early to allow
for preemption, should not update the time stamp, as the page continues
to retain the typ which is in the process of being unvalidated. I can't
see why the time stamp update was put on that path in the first place
(albeit it may well have been me who had put it there years ago).

This is part of XSA-240.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: George Dunlap <george.dunlap.com>
xen/arch/x86/mm.c