Re: CVS commit: src/sys/netipsec

2009-07-31 Thread Soren Jacobsen

On Jul 30, 2009, at 8:02 PM, Erik Fair wrote:



On Jul 30, 2009, at 07:41, Jonathan A. Kollasch wrote:


Module Name:src
Committed By:   jakllsch
Date:   Thu Jul 30 14:41:59 UTC 2009

Modified Files:
src/sys/netipsec: ipsec.c

Log Message:
As explained in kern/41701 there's a missing splx() here.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/netipsec/ipsec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Has a pullup request for the netbsd-5 branch been submitted?


Yes.


Re: CVS commit: src/lib/libc/string

2009-07-31 Thread David Laight
On Thu, Jul 30, 2009 at 09:46:44PM -0400, Perry E. Metzger wrote:
> 
> David Laight  writes:
> > Module Name:src
> > Committed By:   dsl
> > Date:   Thu Jul 30 21:42:06 UTC 2009
> >
> > Modified Files:
> > src/lib/libc/string: strcspn.c strspn.c
> >
> > Log Message:
> > Use a 'register only' str[c]spn() on 64 bit systems.
> 
> How much of a speedup is this?

It probably takes about 2/3 the time on my athlon.
I got similar times with some tests on f.n.o (some intel cpu).
The gain is missing out the 3 clock delay on every memory read.

David

-- 
David Laight: da...@l8s.co.uk