linux-mips
[Top] [All Lists]

Re: PATCH: Always use ll/sc for mips

To: "H. J. Lu" <hjl@lucon.org>
Subject: Re: PATCH: Always use ll/sc for mips
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Tue, 2 Jul 2002 22:06:51 +0200
Cc: linux-mips@oss.sgi.com, GNU C Library <libc-alpha@sources.redhat.com>
In-reply-to: <20020702114045.A16197@lucon.org>; from hjl@lucon.org on Tue, Jul 02, 2002 at 11:40:45AM -0700
References: <20020702114045.A16197@lucon.org>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5.1i
On Tue, Jul 02, 2002 at 11:40:45AM -0700, H. J. Lu wrote:

> The ll/sc emulation is implemented in 2.4.0 and above. This patch makes
> glibc always use ll/sc.

Which means the overhead of two syscalls instead of one sysmips() call
for something that is assumed to be dirt cheap.  R3000, R5900 etc.
users won't this patch you, which'll have significant impact on their
glibc performance.

  Ralf


<Prev in Thread] Current Thread [Next in Thread>