Re: [PATCH 4/7] x86: Add support for rd/wr fs/gs base

Andi Kleen
2014-05-01T22:18:39Z

> I haven't looked through the flows (I'm at LCE so I have limited screen
> bandwidth) to see how that would be handled in this case, but in the
> general paranoid case it comes down to the fact that in this particular
> subcase we don't necessarily know exactly how many SWAPGS are between us
> and userspace after we IRET.

There is none as far as I know. Certainly wasn't any when the code
was originally written.

-Andi

--
ak@linux.intel.com -- Speaking for myself only