Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 7 Dec 2001 08:55:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 7 Dec 2001 08:55:03 -0500 Received: from ns.suse.de ([213.95.15.193]:12043 "HELO Cantor.suse.de") by vger.kernel.org with SMTP id ; Fri, 7 Dec 2001 08:54:51 -0500 To: torvalds@transmeta.com (Linus Torvalds) Cc: linux-kernel@vger.kernel.org Subject: Re: horrible disk thorughput on itanium In-Reply-To: <9upmqm$7p4$1@penguin.transmeta.com.suse.lists.linux.kernel> From: Andi Kleen Date: 07 Dec 2001 14:54:49 +0100 In-Reply-To: torvalds@transmeta.com's message of "7 Dec 2001 07:22:55 +0100" Message-ID: Lines: 15 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org torvalds@transmeta.com (Linus Torvalds) writes: > > "putc()" is a standard function. If it sucks, let's get it fixed. And > instead of changing bonnie, how about pinging the _real_ people who > write sucky code? It is easy to fix. Just do #define putc putc_unlocked There is just a slight problem: it'll fail if your application is threaded and wants to use the same FILE from multiple threads. It is a common problem on all OS that eventually got threadsafe stdio. I bet putc sucks on Solaris too. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/