lkml.org 
[lkml]   [2022]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V5 3/7] x86/entry: Move PUSH_AND_CLEAR_REGS out of error_entry()
On Wed, Apr 13, 2022 at 11:48:21AM +0800, Lai Jiangshan wrote:
> I meant the real .entry.text size is unchanged. No matter what
> the complied .entry.text size is, 5.5k before the patch, or 8.2k
> after the patch, the size of .entry.text in the kernel is always 2M.

Yes, unless the bloat I'm talking about above continues and then it
becomes 4M. So we need to be careful.

> I will follow your instructions and add an extra ASM function.

Thx.

> And maybe add this to the changelog:
>
> A function call is added for every interrupt or exception, but it

I think you need to read submitting-patches.rst again:

"Describe your changes in imperative mood, e.g. "make xyzzy do frotz"
instead of "[This patch] makes xyzzy do frotz" or "[I] changed xyzzy
to do frotz", as if you are giving orders to the codebase to change
its behaviour."

In your case:

"Add a function call..."

> is a low-level asm function call and actually, only a "call" and a
> "ret" instructions are added.

CALL, RET - all x86 insns in caps.

> It will enable error_entry() to be

It will allow for sync_regs() to be converted to C...

> C code that can use inlined sync_regs() and save a C function call
> which will reduce more instructions in return.
>
> I'm also waiting for reviews for other patches and I'm not going to
> send this new code too soon since I don't want to send a new revision
> with only this patch updated.

Again, submitting-patches.rst:

"After you have submitted your change, be patient and wait. Reviewers are
busy people and may not get to your patch right away.

...

You should receive comments within a week or so; if that does not
happen, make sure that you have sent your patches to the right place.
Wait for a minimum of one week before resubmitting or pinging reviewers
- possibly longer during busy times like merge windows"

So you send, wait for feedback, incorporate it and resend after a week,
but not earlier.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

\
 
 \ /
  Last update: 2022-04-13 10:41    [W:0.063 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site