Re: [RFC PATCH v2 08/27] mm: Introduce VM_SHSTK for shadow stack memory

From: Yu-cheng Yu
Date: Wed Jul 11 2018 - 12:18:52 EST


On Wed, 2018-07-11 at 10:34 +0200, Peter Zijlstra wrote:
> On Tue, Jul 10, 2018 at 03:26:20PM -0700, Yu-cheng Yu wrote:
> >
> > VM_SHSTK indicates a shadow stack memory area.
> >
> > A shadow stack PTE must be read-only and dirty.ÂÂFor non shadow
> > stack, we use a spare bit of the 64-bit PTE for dirty.ÂÂThe PTE
> > changes are in the next patch.
> This doesn't make any sense.. the $subject and the patch seem
> completely
> unrelated to this Changelog.

I was trying to say why this is only defined for 64-bit. ÂI will fix
it.

Yu-cheng