This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: horrible disk thorughput on itanium
- From: Ulrich Drepper <drepper at redhat dot com>
- To: torvalds at transmeta dot com (Linus Torvalds)
- Cc: libc-alpha at sources dot redhat dot com
- Date: 07 Dec 2001 12:35:22 -0800
- Subject: Re: horrible disk thorughput on itanium
- References: <p73r8q86lpn.fsf@amdsim2.suse.de><Pine.LNX.4.33.0112070710120.747-100000@mikeg.weiden.de><9upmqm$7p4$1@penguin.transmeta.com> <u8k7vylu72.fsf@gromit.moeb>
- Reply-to: drepper at redhat dot com (Ulrich Drepper)
Andreas Jaeger <aj@suse.de> writes:
> This should be doable. We could easily implement libio/putc.c as
> follows:
That's stupid. Either you use putc_unlocked() as any sane person
should in non-threaded code which then expands inline or you use
__fsetlocking(FSETLOCKING_BYCALLER). Just because people cannot
program correctly doesn't require the implementation to fix their
problems.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------