[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1505191016230.4225@nanos>
Date: Tue, 19 May 2015 10:16:35 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Dave Hansen <dave@...1.net>
cc: linux-kernel@...r.kernel.org, x86@...nel.org,
dave.hansen@...ux.intel.com, oleg@...hat.com, bp@...en8.de
Subject: Re: [PATCH 04/19] x86, mpx: Cleanup: Do not pass task around when
unnecessary
On Mon, 18 May 2015, Dave Hansen wrote:
> From: Dave Hansen <dave.hansen@...ux.intel.com>
>
> The MPX code can only work on the current task. You can 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.
>
> Signed-off-by: Dave Hansen <dave.hansen@...ux.intel.com>
Reviewed-by: Thomas Gleixner <tglx@...utronix.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists