Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1514461 > unrolled thread
| Started by | Borislav Petkov <bp@alien8.de> |
|---|---|
| First post | 2016-11-03 12:30 +0100 |
| Last post | 2016-11-03 12:30 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] x86/entry64: move comment about informing of context tracking in right place Borislav Petkov <bp@alien8.de> - 2016-11-03 12:30 +0100
| From | Borislav Petkov <bp@alien8.de> |
|---|---|
| Date | 2016-11-03 12:30 +0100 |
| Subject | Re: [PATCH] x86/entry64: move comment about informing of context tracking in right place |
| Message-ID | <szonv-3bp-9@gated-at.bofh.it> |
On Mon, Oct 24, 2016 at 05:22:34PM +0600, Alexander Kuleshov wrote:
> We are switching to kernel gsbase if an IRQ come from usermode with swpags.
"... if an IRQ comes from ..."
Also, you mean SWAPGS. Instruction names in allcaps please and spelled
correctly please.
> Now there is comment which describes this:
>
> IRQ from user mode. Switch to kernel gsbase and inform context tracking that
> we're in kernel mode.
>
> But now we execute swapgs, next TRACE_IRQS_OFF and only then the
> CALL_enter_from_user_mode macro expands to the informing of
> context tracking about this event. Let's move part of comment to
> the right place where actual call to context tracing occured.
I don't agree with that change - SWAPGS is part of what the comment
explains so it looks just fine where it is.
For future patches:
Please integrate scripts/checkpatch.pl in your patch creation workflow:
WARNING: 'occured' may be misspelled - perhaps 'occurred'?
#27:
the right place where actual call to context tracing occured.
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
Back to top | Article view | linux.kernel
csiph-web