lkml.org 
[lkml]   [2015]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@linux.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@linux.intel.com>

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>


\
 
 \ /
  Last update: 2015-05-19 10:41    [W:0.443 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site