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, 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).

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

-- 
Joseph S. Myers
joseph@codesourcery.com


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