commit | 9104a18dcdd8dfefdddca8ce44988563f13ed3c4 | [log] [tgz] |
---|---|---|
author | Jeremy Fitzhardinge <jeremy@goop.org> | Wed Jan 28 14:35:04 2009 -0800 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Fri Jan 30 14:51:44 2009 -0800 |
tree | 9e0b32d6340eb8335ca3ee1fb0f13c203b47c734 | |
parent | b8aa287f77be943e37a84fa4657e27df95269bfb [diff] |
x86/paravirt: selectively save/restore regs around pvops calls Impact: Optimization Each asm paravirt-ops call says what registers are available for clobbering. This patch makes use of this to selectively save/restore registers around each pvops call. In many cases this significantly shrinks code size. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>