|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen/x86: p2m: Don't initialize slot 0 of the P2M
Hi, On 03/02/2020 17:10, George Dunlap wrote: On 2/3/20 4:58 PM, Julien Grall wrote:From: Julien Grall <jgrall@xxxxxxxxxx> It is not entirely clear why the slot 0 of each p2m should be populated with empty page-tables. The commit introducing it 759af8e3800 "[HVM] Fix 64-bit HVM domain creation." does not contain meaningful explanation except that it was necessary for shadow.Tim, any ideas here? If Tim doesn't have an explanation, then we have two solutions: 1) Checkin the code and see if that breaks 2) Keep code we have no clue why it is thereI understand that the former is risky, but the latter is not very ideal either because if we can't explain the reason now, then it is unlikely that we would in the future. Regarding the advantage of removing it, I am looking at liveupdate and how to keep the P2M around. I am trying to limit the number of "if (liveupdate)" within the code. So any cleanup would be beneficial. Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |