RE: [PATCH] x86/ept: fix shattering of special pages

2022-06-29 Thread Tian, Kevin
> From: Roger Pau Monné > Sent: Wednesday, June 29, 2022 5:11 PM > > On Wed, Jun 29, 2022 at 08:41:43AM +, Tian, Kevin wrote: > > > From: Roger Pau Monne > > > Sent: Monday, June 27, 2022 6:01 PM > > > > > > The current logic in epte_get_entry_emt() will split any page marked > > > as specia

Re: [PATCH] x86/ept: fix shattering of special pages

2022-06-29 Thread Jan Beulich
On 27.06.2022 12:01, Roger Pau Monne wrote: > The current logic in epte_get_entry_emt() will split any page marked > as special with order greater than zero, without checking whether the > super page is all special. > > Fix this by only splitting the page only if it's not all marked as > special,

Re: [PATCH] x86/ept: fix shattering of special pages

2022-06-29 Thread Roger Pau Monné
On Wed, Jun 29, 2022 at 08:41:43AM +, Tian, Kevin wrote: > > From: Roger Pau Monne > > Sent: Monday, June 27, 2022 6:01 PM > > > > The current logic in epte_get_entry_emt() will split any page marked > > as special with order greater than zero, without checking whether the > > super page is a

RE: [PATCH] x86/ept: fix shattering of special pages

2022-06-29 Thread Tian, Kevin
> From: Roger Pau Monne > Sent: Monday, June 27, 2022 6:01 PM > > The current logic in epte_get_entry_emt() will split any page marked > as special with order greater than zero, without checking whether the > super page is all special. > > Fix this by only splitting the page only if it's not all