Re: [PATCH 2/9] x86: Add support for rd/wr fs/gs base

From: Andi Kleen
Date: Mon Mar 21 2016 - 18:05:34 EST


> Please add a patch before this one that renames gs to gsbase. This is
> unreadable as is.

I investigated this now, and it's not straight forward because on 32bit
->gs is actually gsindex, not gsbase. So with a straight rename you
would end up with index in base on 32bit, which would be confusing.

Perhaps this could be cleaned up at some point, switching 32bit
to use ->gsindex. But not right now, seems somewhat risky,
and I don't want to make it part of this patch kit.

FWIW I think it's readable.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.