Re: [PATCH 3/3] x86_64,entry: Remove the syscall exit audit and schedule optimizations

2015-01-09 Thread Andy Lutomirski
On Fri, Jan 9, 2015 at 7:53 AM, Borislav Petkov wrote: > On Fri, Nov 07, 2014 at 03:58:19PM -0800, Andy Lutomirski wrote: >> We used to optimize rescheduling and audit on syscall exit. Now that >> the full slow path is reasonably fast, remove these optimizations. >> >> This adds something like 10

Re: [PATCH 3/3] x86_64,entry: Remove the syscall exit audit and schedule optimizations

2015-01-09 Thread Borislav Petkov
On Fri, Nov 07, 2014 at 03:58:19PM -0800, Andy Lutomirski wrote: > We used to optimize rescheduling and audit on syscall exit. Now that > the full slow path is reasonably fast, remove these optimizations. > > This adds something like 10ns to the previously optimized paths on my > computer, presum

[PATCH 3/3] x86_64,entry: Remove the syscall exit audit and schedule optimizations

2014-11-07 Thread Andy Lutomirski
We used to optimize rescheduling and audit on syscall exit. Now that the full slow path is reasonably fast, remove these optimizations. This adds something like 10ns to the previously optimized paths on my computer, presumably due mostly to SAVE_REST / RESTORE_REST. I think that we should eventu