Re: [x86] do_arch_prctl

From: Andi Kleen
Date: Mon Dec 08 2008 - 15:35:34 EST

Jeremy Fitzhardinge <jeremy@xxxxxxxx> writes:
>> The task_struct is also updated in sys_arch_prctl (ARCH_SET_FS and
>> ARCH_SET_GS), so not just on a context switch.
>> How the task structure could be out of date wrt and thread.fs?
>> What could be a typical scenario that could induced gs or fs to be
>> modified and not and thread.fs?
> Not sure. It could just be redundant.

The process has just changed fs/gs, but not done a context switch yet.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at