[PATCH 1/2] Add nocancel version of pread64()
Carlos O'Donell
carlos@redhat.com
Tue Aug 6 17:09:00 GMT 2019
On 8/5/19 5:54 PM, Leandro Pereira wrote:
> This is in preparation for changes in the dynamic linker so that pread() is used instead of lseek()+read().
>
> 2019-08-05 Leandro Pereira <leandro.pereira@microsoft.com>
>
> * sysdeps/generic/not-cancel.h: New macro.
> * sysdeps/unix/sysv/linux/not-cancel.h: New macro.
> * sysdeps/unix/sysv/linux/pread64_nocancel.c: Implement nocancel
> version of pread64.
> * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
> __pread64_nocancel.
> * sysdeps/unix/sysv/linux/Makefile: Reference pread64_nocancel.c.
I'm am really excited to see changes like this going into glibc.
Whenever we get a chance to do a small optimization like this is great.
I don't see a copyright disclaimer for you on file, and I'm going to
follow up with you privately to see what we can do there to expedite
the process so we can work on your patches as quickly as possible.
Thank you again!
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list