[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen stable-4.10] x86: don't wrongly trigger linear page table assertion (2)
commit b17aa761889bca8d3e1bb104f85231920a5c3eb3 Author: Jan Beulich <jbeulich@xxxxxxxx> AuthorDate: Fri Dec 8 15:32:05 2017 +0000 Commit: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> CommitDate: Fri Dec 8 15:32:05 2017 +0000 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@xxxxxxxx> --- xen/arch/x86/mm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c index 886a5ee..b039e54 100644 --- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@ -2426,7 +2426,6 @@ static int _put_final_page_type(struct page_info *page, unsigned long type, { ASSERT((page->u.inuse.type_info & (PGT_count_mask|PGT_validated|PGT_partial)) == 1); - set_tlbflush_timestamp(page); smp_wmb(); page->u.inuse.type_info |= PGT_validated; } -- generated by git-patchbot for /home/xen/git/xen.git#stable-4.10 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |