Re: [PATCH/RFC] Move entry_64.S register saving out of the macros

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: H. Peter Anvin
Date: Wednesday, November 19, 2008 - 10:54 am

Alexander van Heukelum wrote:

Sorry, I'm away on a trip at the moment, so sorry for the delayed feedback.

First of all, if we're going to go through common code here, we should 
do the vector number adjustment in save_args and be able to use the 
short form of pushq in the common case.

What isn't clear to me is if we should just push a target field to the 
stack and then do an indirect call.  That way we can do save_args and 
ret_from_intr inline, but at the expense of an indirect call which will 
not necessarily speculate cleanly.

All of this qualify as "tweaking", which means we need to be very 
careful so we don't end up burning more performance than we gain, but 
all in all, I think this is a good idea.

	-hpa
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] trivial, entry_64: remove whitespace at end of lines, Alexander van Heukelum, (Sun Nov 16, 7:29 am)
[RFC] x86: save_args out of line, Alexander van Heukelum, (Sun Nov 16, 7:29 am)
Re: [RFC] x86: save_args out of line, Glauber Costa, (Mon Nov 17, 5:14 am)
Re: [RFC] x86: save_args out of line, Andi Kleen, (Mon Nov 17, 5:53 am)
Re: [RFC] x86: save_args out of line, Alexander van Heukelum, (Mon Nov 17, 8:13 am)
Re: [PATCH] trivial, entry_64: remove whitespace at end of ..., Alexander van Heukelum, (Mon Nov 17, 8:14 am)
Re: [RFC] x86: save_args out of line, Alexander van Heukelum, (Mon Nov 17, 8:37 am)
[RFC,v2] x86_64: save_args out of line, Alexander van Heukelum, (Mon Nov 17, 10:52 am)
Re: [RFC] x86: save_args out of line, Andi Kleen, (Mon Nov 17, 11:23 am)
Re: [RFC] x86: save_args out of line, Cyrill Gorcunov, (Mon Nov 17, 12:22 pm)
Re: [RFC] x86: save_args out of line, Cyrill Gorcunov, (Mon Nov 17, 12:29 pm)
Re: [RFC] x86: save_args out of line, Alexander van Heukelum, (Mon Nov 17, 12:43 pm)
Re: [RFC] x86: save_args out of line, Alexander van Heukelum, (Mon Nov 17, 12:49 pm)
Re: [RFC] x86: save_args out of line, Cyrill Gorcunov, (Mon Nov 17, 12:49 pm)
Re: [RFC] x86: save_args out of line, Cyrill Gorcunov, (Mon Nov 17, 12:54 pm)
Re: [RFC,v2] x86_64: save_args out of line, Jan Beulich, (Tue Nov 18, 1:09 am)
Re: [RFC,v2] x86_64: save_args out of line, Alexander van Heukelum, (Tue Nov 18, 4:16 am)
Re: [RFC,v2] x86_64: save_args out of line, Jan Beulich, (Tue Nov 18, 5:51 am)
Re: [RFC,v2] x86_64: save_args out of line, Ingo Molnar, (Tue Nov 18, 7:03 am)
Re: [RFC,v2] x86_64: save_args out of line, Jan Beulich, (Tue Nov 18, 7:52 am)
Re: [RFC,v2] x86_64: save_args out of line, Ingo Molnar, (Tue Nov 18, 8:00 am)
Re: [RFC,v2] x86_64: save_args out of line, Roland McGrath, (Tue Nov 18, 3:53 pm)
Re: [RFC,v2] x86_64: save_args out of line, Andi Kleen, (Tue Nov 18, 4:35 pm)
Re: [RFC,v2] x86_64: save_args out of line, Jeremy Fitzhardinge, (Tue Nov 18, 4:36 pm)
Re: [RFC,v2] x86_64: save_args out of line, H. Peter Anvin, (Tue Nov 18, 4:44 pm)
Re: [RFC,v2] x86_64: save_args out of line, Roland McGrath, (Tue Nov 18, 4:45 pm)
Re: [RFC,v2] x86_64: save_args out of line, H. Peter Anvin, (Tue Nov 18, 5:01 pm)
Re: [RFC,v2] x86_64: save_args out of line, Andi Kleen, (Tue Nov 18, 5:06 pm)
Re: [RFC,v2] x86_64: save_args out of line, Jeremy Fitzhardinge, (Tue Nov 18, 5:08 pm)
[PATCH/RFC] Move entry_64.S register saving out of the macros, Alexander van Heukelum, (Tue Nov 18, 5:18 pm)
Re: [RFC,v2] x86_64: save_args out of line, Ingo Molnar, (Wed Nov 19, 3:34 am)
Re: [PATCH/RFC] Move entry_64.S register saving out of the ..., H. Peter Anvin, (Wed Nov 19, 10:54 am)
Re: [RFC,v2] x86_64: save_args out of line, Ingo Molnar, (Wed Nov 19, 1:09 pm)
[PATCH] x86: clean up after: move entry_64.S register savi ..., Alexander van Heukelum, (Thu Nov 20, 6:40 am)
Re: [PATCH] x86: clean up after: move entry_64.S register ..., Alexander van Heukelum, (Thu Nov 20, 8:26 am)
Re: [PATCH] x86: clean up after: move entry_64.S register ..., Alexander van Heukelum, (Thu Nov 20, 8:57 am)
Re: [PATCH] x86: clean up after: move entry_64.S register ..., Alexander van Heukelum, (Thu Nov 20, 9:29 am)
[PATCH] x86: Introduce save_rest and restructure the PTREG ..., Alexander van Heukelum, (Fri Nov 21, 8:41 am)
[PATCH] x86: entry_64.S: Factor out save_paranoid and para ..., Alexander van Heukelum, (Fri Nov 21, 8:43 am)
[PATCH] Split out some macro's and move common code to par ..., Alexander van Heukelum, (Fri Nov 21, 8:44 am)
[PATCH] x86: include ENTRY/END in entry handlers in entry_64.S, Alexander van Heukelum, (Sun Nov 23, 2:08 am)
[PATCH] x86: KPROBE_ENTRY should be paired wth KPROBE_END, Alexander van Heukelum, (Sun Nov 23, 2:15 am)
Re: [PATCH] x86: include ENTRY/END in entry handlers in en ..., Alexander van Heukelum, (Sun Nov 23, 4:23 am)
Re: [PATCH] x86: KPROBE_ENTRY should be paired wth KPROBE_END, Alexander van Heukelum, (Sun Nov 23, 8:04 am)
Re: [PATCH] x86: include ENTRY/END in entry handlers in en ..., Alexander van Heukelum, (Mon Nov 24, 3:06 am)
Re: [PATCH] x86: KPROBE_ENTRY should be paired wth KPROBE_END, Alexander van Heukelum, (Mon Nov 24, 3:26 am)
[PATCH] x86_64: get rid of the use of KPROBE_ENTRY / KPROB ..., Alexander van Heukelum, (Mon Nov 24, 5:24 am)
[PATCH] i386: get rid of the use of KPROBE_ENTRY / KPROBE_END, Alexander van Heukelum, (Mon Nov 24, 7:38 am)