diff options
author | Andy Lutomirski <luto@amacapital.net> | 2014-10-24 15:58:09 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-02-04 12:10:43 +0100 |
commit | 22c4bd9fa921c2b1b3f2420d7b9dabbe982f3059 (patch) | |
tree | d3bf2be30a8db9eda07060a1f5d84d17250a4a59 /Kbuild | |
parent | 1e02ce4cccdcb9688386e5b8d2c9fa4660b45389 (diff) | |
download | linux-stable-22c4bd9fa921c2b1b3f2420d7b9dabbe982f3059.tar.gz linux-stable-22c4bd9fa921c2b1b3f2420d7b9dabbe982f3059.tar.bz2 linux-stable-22c4bd9fa921c2b1b3f2420d7b9dabbe982f3059.zip |
x86: Add a comment clarifying LDT context switching
The code is correct, but only for a rather subtle reason. This
confused me for quite a while when I read switch_mm, so clarify the
code to avoid confusing other people, too.
TBH, I wouldn't be surprised if this code was only correct by
accident.
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Kees Cook <keescook@chromium.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Vince Weaver <vince@deater.net>
Cc: "hillf.zj" <hillf.zj@alibaba-inc.com>
Cc: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/0db86397f968996fb772c443c251415b0b430ddd.1414190806.git.luto@amacapital.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions