Thread (44 messages) 44 messages, 2 authors, 2021-01-15

Re: [PATCH v5 04/21] powerpc: bad_page_fault, do_break get registers from regs

From: Nicholas Piggin <npiggin@gmail.com>
Date: 2021-01-14 03:29:31

Excerpts from Christophe Leroy's message of January 14, 2021 12:25 am:

Le 13/01/2021 à 08:31, Nicholas Piggin a écrit :
quoted
Similar to the previous patch this makes interrupt handler function
types more regular so they can be wrapped with the next patch.

bad_page_fault and do_break are not performance critical.
It's a bit different between do_break() and bad_page_fault():
- do_break() is not performance critical for sure
- bad_page_fault(), it doesn't matter, because bad_page_fault() was not using the address param so 
it doesn't get anything from regs at the end.

Maybe it would be worth splitting in two patches, one for bad_page_fault() and one for do_break()
Okay I'll try it.

Thanks,
Nick
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help