]> git.baikalelectronics.ru Git - kernel.git/commit
x86/entry/64: Further improve paranoid_entry comments
authorAndy Lutomirski <luto@kernel.org>
Sun, 14 Oct 2018 18:38:18 +0000 (11:38 -0700)
committerIngo Molnar <mingo@kernel.org>
Wed, 17 Oct 2018 10:30:27 +0000 (12:30 +0200)
commit8133ba202f98b36035bccf6203ef518b6959d034
tree0b7b8e8b15d0948ccf59f24d000831b7354fea28
parentc76f150a338ba8eb78b04797d9a27c925f93893f
x86/entry/64: Further improve paranoid_entry comments

Commit:

  082d17cebef1 ("x86/entry: Add some paranoid entry/exit CR3 handling comments")

... added some comments.  This improves them a bit:

 - When I first read the new comments, it was unclear to me whether
   they were referring to the case where paranoid_entry interrupted
   other entry code or where paranoid_entry was itself interrupted.
   Clarify it.

 - Remove the EBX comment.  We no longer use EBX as a SWAPGS
   indicator.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/c47daa1888dc2298e7e1d3f82bd76b776ea33393.1539542111.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/entry/entry_64.S