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

From: Thomas Gleixner
Date: Mon May 18 2015 - 16:38:06 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/