Re: [PATCH v2 0/3] x86: PER_CPU segment improvements

2014-08-22 Thread Andy Lutomirski
On Wed, Jul 30, 2014 at 3:07 PM, Andy Lutomirski wrote: > x86 sets up a per-cpu GDT entry so that vgetcpu can use LSL on it > to determine the CPU number and node. hpa, if/when you apply this, can you put it onto a fresh branch based on something at least as new as 3.17-rc1? It should apply clea

[PATCH v2 0/3] x86: PER_CPU segment improvements

2014-07-30 Thread Andy Lutomirski
x86 sets up a per-cpu GDT entry so that vgetcpu can use LSL on it to determine the CPU number and node. This series, in little baby steps, cleans up that code and sets the accessed and 32-bit flags on the segment. The accessed bit prevents user code from setting the accessed bit on its own, and m