On Wed, Dec 9, 2015 at 9:42 PM, Brian Gerst wrote:
> On Wed, Dec 9, 2015 at 6:50 PM, Andy Lutomirski wrote:
>> On Wed, Dec 9, 2015 at 1:15 PM, Andy Lutomirski wrote:
>>> On Wed, Dec 9, 2015 at 1:08 PM, Brian Gerst wrote:
Simplified version:
ENTRY(stub_ptregs_64)
cmpl
On Wed, Dec 9, 2015 at 6:50 PM, Andy Lutomirski wrote:
> On Wed, Dec 9, 2015 at 1:15 PM, Andy Lutomirski wrote:
>> On Wed, Dec 9, 2015 at 1:08 PM, Brian Gerst wrote:
>>> Simplified version:
>>> ENTRY(stub_ptregs_64)
>>> cmpl $fast_path_return, (%rsp)
>>
>> Does that instruction actually
On Wed, Dec 9, 2015 at 1:15 PM, Andy Lutomirski wrote:
> On Wed, Dec 9, 2015 at 1:08 PM, Brian Gerst wrote:
>> Simplified version:
>> ENTRY(stub_ptregs_64)
>> cmpl $fast_path_return, (%rsp)
>
> Does that instruction actually work the way you want it to? (Does it
> link?) I think you might
On Wed, Dec 9, 2015 at 1:08 PM, Brian Gerst wrote:
> On Wed, Dec 9, 2015 at 1:53 PM, Andy Lutomirski wrote:
>> On Wed, Dec 9, 2015 at 5:02 AM, Brian Gerst wrote:
>>> Instead of using a duplicate syscall table for the fast path, create stubs
>>> for
>>> the syscalls that need pt_regs that save
On Wed, Dec 9, 2015 at 1:53 PM, Andy Lutomirski wrote:
> On Wed, Dec 9, 2015 at 5:02 AM, Brian Gerst wrote:
>> Instead of using a duplicate syscall table for the fast path, create stubs
>> for
>> the syscalls that need pt_regs that save the extra registers if a flag for
>> the
>> slow path is
Instead of using a duplicate syscall table for the fast path, create
stubs for the syscalls that need pt_regs that dispatch based on the
call site.
I think that this is very likely to introduce a mis-predicted branch
in all such syscalls. I think that's fine -- all of them are
already very slow.
On Wed, Dec 9, 2015 at 5:02 AM, Brian Gerst wrote:
> Instead of using a duplicate syscall table for the fast path, create stubs for
> the syscalls that need pt_regs that save the extra registers if a flag for the
> slow path is not set.
>
> Signed-off-by: Brian Gerst
> To: Andy Lutomirski
> Cc:
Instead of using a duplicate syscall table for the fast path, create stubs for
the syscalls that need pt_regs that save the extra registers if a flag for the
slow path is not set.
Signed-off-by: Brian Gerst
To: Andy Lutomirski
Cc: Andy Lutomirski
Cc: the arch/x86 maintainers
Cc: Linux Kernel
Instead of using a duplicate syscall table for the fast path, create stubs for
the syscalls that need pt_regs that save the extra registers if a flag for the
slow path is not set.
Signed-off-by: Brian Gerst
To: Andy Lutomirski
Cc: Andy Lutomirski
Instead of using a duplicate syscall table for the fast path, create
stubs for the syscalls that need pt_regs that dispatch based on the
call site.
I think that this is very likely to introduce a mis-predicted branch
in all such syscalls. I think that's fine -- all of them are
already very slow.
On Wed, Dec 9, 2015 at 5:02 AM, Brian Gerst wrote:
> Instead of using a duplicate syscall table for the fast path, create stubs for
> the syscalls that need pt_regs that save the extra registers if a flag for the
> slow path is not set.
>
> Signed-off-by: Brian Gerst
On Wed, Dec 9, 2015 at 1:08 PM, Brian Gerst wrote:
> On Wed, Dec 9, 2015 at 1:53 PM, Andy Lutomirski wrote:
>> On Wed, Dec 9, 2015 at 5:02 AM, Brian Gerst wrote:
>>> Instead of using a duplicate syscall table for the fast path, create
On Wed, Dec 9, 2015 at 1:53 PM, Andy Lutomirski wrote:
> On Wed, Dec 9, 2015 at 5:02 AM, Brian Gerst wrote:
>> Instead of using a duplicate syscall table for the fast path, create stubs
>> for
>> the syscalls that need pt_regs that save the extra
On Wed, Dec 9, 2015 at 1:15 PM, Andy Lutomirski wrote:
> On Wed, Dec 9, 2015 at 1:08 PM, Brian Gerst wrote:
>> Simplified version:
>> ENTRY(stub_ptregs_64)
>> cmpl $fast_path_return, (%rsp)
>
> Does that instruction actually work the way you want it
On Wed, Dec 9, 2015 at 9:42 PM, Brian Gerst wrote:
> On Wed, Dec 9, 2015 at 6:50 PM, Andy Lutomirski wrote:
>> On Wed, Dec 9, 2015 at 1:15 PM, Andy Lutomirski wrote:
>>> On Wed, Dec 9, 2015 at 1:08 PM, Brian Gerst
On Wed, Dec 9, 2015 at 6:50 PM, Andy Lutomirski wrote:
> On Wed, Dec 9, 2015 at 1:15 PM, Andy Lutomirski wrote:
>> On Wed, Dec 9, 2015 at 1:08 PM, Brian Gerst wrote:
>>> Simplified version:
>>> ENTRY(stub_ptregs_64)
>>> cmpl
16 matches
Mail list logo