Re: [PATCH 04/19] x86, mpx: cleanup: do not pass task around when unnecessary

Thomas Gleixner
2015-05-18T20:38:01Z

On Fri, 8 May 2015, Dave Hansen wrote:
> The MPX code can largely only work on the current task. You can

s/largely// ?

> not, for instance, enable MPX management in another process or
> thread. You can also not handle a fault for another process
> or thread.
>
> Despite this, we pass a task_struct around prolifically. This
> patch removes all of the task struct passing for code paths
> where the code can not deal with another task (which turns out
> to be all of them).
>
> This has no functional changes. It's just a cleanup.

See also reply to previous patch.

Thanks,

tglx