This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/6] Optimize i386 syscall inlining


On Fri, Aug 21, 2015 at 8:00 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> On Fri, 21 Aug 2015, H.J. Lu wrote:
>
>> This is the patch I will check in next Monday.
>
> No, I think this patch is going further with a defective interface and the
> correct approach is to fix the interface before building further on top of
> it.  That is, remove the third argument to INLINE_SYSCALL_ERROR_RETURN,
> changing the specification of the macro to be that it always evaluates to
> or returns ((type) -1).

I will do that.

> If there are uncommon cases involving a return value other than -1, add a
> separate macro for them, discussed separately.

I haven't found such a case on i386 nor x86-64.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]