Re: CVS commit: src/tests/usr.bin/pr
On Tue, May 03, 2011 at 07:44:57AM -0700, Paul Goyette wrote: I think it actually does, but only at run-time. It will end up counting as a bogus test program. Another question: was a conclusion ever reached about the preferred directory structure for the tests? I've been now following the same structure used in the actual src, but many things are in ../tests/util. - Jukka.
Re: CVS commit: src/tests/usr.bin/pr
I'm not sure where the src/tests/util stuff came from, but I would prefer that we continue to mirror src/... as you have been doing. On Tue, 3 May 2011, Jukka Ruohonen wrote: On Tue, May 03, 2011 at 07:44:57AM -0700, Paul Goyette wrote: I think it actually does, but only at run-time. It will end up counting as a bogus test program. Another question: was a conclusion ever reached about the preferred directory structure for the tests? I've been now following the same structure used in the actual src, but many things are in ../tests/util. - Jukka. !DSPAM:4dc01dcf2434615079005! - | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com| | Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net | | Kernel Developer | | pgoyette at netbsd.org | -
Re: CVS commit: othersrc/external/bsd/crc
On Thu, Apr 28, 2011 at 02:09:00AM +, Alistair G. Crooks wrote: Module Name: othersrc Committed By: agc Date: Thu Apr 28 02:09:00 UTC 2011 Update of /cvsroot/othersrc/external/bsd/crc In directory ivanova.netbsd.org:/tmp/cvs-serv7562 Log Message: initial import of some routines to perform CRC calculations: I've not looked at these routines :-) but I suspect they do byte or nibble table lookups. For CRC16 (hdlc etc) there is a short sequence of shifts and xors that will update the crc for a new byte. On superscalar architectures with barrel shifters this is almost certainly faster than the table lookup versions (even when the table is in the cache). IIRC it is 3 clocks slower on non-superscaler with zero wait state memory. David -- David Laight: da...@l8s.co.uk
Re: CVS commit: src/sys/netinet
On May 3, 2011, at 9:00 AM, David Young wrote: Module Name: src Committed By: dyoung Date: Tue May 3 16:00:30 UTC 2011 Modified Files: src/sys/netinet: if_arp.c Log Message: arp_drain() may be called with locks held, so instead of doing any work in arp_drain(), set a drain-needed flag. Do the work in the fasttimo handler. Contributed by Coyote Point Systems, Inc. Probably better to use a softintr to do this.