[PATCH v2] Single threaded stdio optimization

Florian Weimer fweimer@redhat.com
Fri Jul 7 12:38:00 GMT 2017


This patch breaks the attached test case.  Not all stream objects are
linked into the global list, so the locking upgrade doesn't happen for
some of them.

The global list management is quite expensive because the list is
single-linked, so we can't just add all stream objects when not yet
running multi-threaded.

I fear that this patch may have to be backed out again, until we can
address these issues.

Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memstream-thread.c
Type: text/x-csrc
Size: 1742 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170707/3d73bfb9/attachment.bin>


More information about the Libc-alpha mailing list