Re: CVS commit: othersrc/zfs/external/cddl/osnet/dist

2009-03-26 Thread Simon Burge
Andrew Doran wrote: Module Name: othersrc Committed By: ad Date: Thu Mar 26 21:50:47 UTC 2009 Modified Files: othersrc/zfs/external/cddl/osnet/dist/cmd/zpool: zpool_vdev.c othersrc/zfs/external/cddl/osnet/dist/cmd/ztest: ztest.c

PCI domains [Was: CVS commit: xsrc/external/mit/libpciaccess/dist/src]

2009-07-09 Thread Simon Burge
Christoph Egger wrote: Michael Lorenz wrote: +/* + * NetBSD's userland has a /dev/pci* entry for each bus but userland has no way + * to tell if a bus is a subordinate of another one or if it's on a different + * host bridge. I have a patch which introduces support for PCI

Re: CVS commit: src/sys/arch/mips/conf

2009-08-01 Thread Simon Burge
Matt Thomas wrote: Add MIPS64_LOONGSON2F since it needs some special help in various places. Isn't the Loongson (barely) a MIPS3 and not a MIPS64? Cheers, Simon.

Re: CVS commit: src/sys/arch/evbmips/gdium

2009-08-19 Thread Simon Burge
Matt Thomas wrote: Module Name: src Committed By: matt Date: Mon Aug 17 18:57:34 UTC 2009 Modified Files: src/sys/arch/evbmips/gdium: machdep.c Log Message: Use mips3_sd instead of two 32bit stores. Any reason for this? The two reg stores will be faster because of

Re: CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-05 Thread Simon Burge
matthew green wrote: I see no reason to make it fatal. Otherwise we cannot detect errors on release build, i.e. no ksym(4) supports. It means that when I build a kernel with DEBUG, my kernel build will fail. That's stupid. Then disable it only if

Re: CVS commit: src/gnu

2009-11-13 Thread Simon Burge
Izumi Tsutsui wrote: On Fri, Nov 13, 2009 at 06:46:07PM +0900, Izumi Tsutsui wrote: Indeed, it doesn't use libbfd but just GPLv2'ed. As you said we should move only mdsetimage and dbsym into external/gpl3. Do we need that for any non-elf targets? If not, porting to FreeBSD's libelf

CVS commit: src/sys/arch/mips/mips

2010-01-09 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sat Jan 9 11:49:17 UTC 2010 Modified Files: src/sys/arch/mips/mips: lock_stubs.S Log Message: Don't always use .set mips3 - that explicitly uses 64-bit instructions and we may be on a 32-bit CPU. Instead use .set

CVS commit: src/usr.bin/calendar/calendars

2010-01-20 Thread Simon Burge
Module Name:src Committed By: simonb Date: Thu Jan 21 01:59:09 UTC 2010 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Use TAB as a separator to be consistent with the rest of this file. To generate a diff of this commit: cvs rdiff -u

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips

2010-02-05 Thread Simon Burge
Matt Thomas wrote: Module Name: src Committed By: matt Date: Fri Feb 5 07:36:51 UTC 2010 [ ... ] Add __HAVE_FAST_SOFTINTS support. Add routine to remap an uarea via a direct-mapped address. This avoids TLB machinations when swtching to/from the softint thread. This can

Re: CVS commit: src/sys

2010-03-13 Thread Simon Burge
Darran Hunt wrote: Added Files: src/sys/sys: kern_ctf.h The convention for include files in sys/sys doesn't include a kern_ prefix in the name - would it make sense to add this as sys/ctf.h instead? Cheers, Simon.

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/include

2010-05-12 Thread Simon Burge
Matt Thomas wrote: Module Name: src Committed By: matt Date: Tue May 11 21:51:34 UTC 2010 Modified Files: src/sys/arch/mips/include [matt-nb5-mips64]: locore.h Log Message: Need to turn KX for N32 kernels with mips3_lw_a64 and mips3_sw_a64 +#elif defined(__mips_n32)

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/include

2010-05-12 Thread Simon Burge
Matt Thomas wrote: Module Name: src Committed By: matt Date: Tue May 11 22:08:02 UTC 2010 Modified Files: src/sys/arch/mips/include [matt-nb5-mips64]: locore.h Log Message: Use assembly since deref a 64bit value as a pointer does not make a 32bit compiler happy.

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2010-06-11 Thread Simon Burge
Hi Cliff, A couple of things with these changes: Module Name:src Committed By: cliff Date: Thu Jun 10 00:32:11 UTC 2010 Modified Files: src/sys/arch/mips/include [matt-nb5-mips64]: locore.h Log Message: - add lsw_bus_error to struct locoresw, provides hook

Re: CVS commit: src/doc

2010-08-25 Thread Simon Burge
Izumi Tsutsui wrote: Mention mips64 support (from the first branch merge) by matt@, so details wont be forgotten in the release notes. IMO, no one will forget it because all mips ports have been broken since the merge and we won't get the next release unless it's fixed. Anyway, if you

Re: CVS commit: src/sys/ddb

2010-08-31 Thread Simon Burge
Thor Lancelot Simon wrote: Module Name: src Committed By: tls Date: Mon Aug 30 19:23:26 UTC 2010 Modified Files: src/sys/ddb: db_input.c Was there any particular reason for removing the lint directives in this change? Eg: - } while (/*CONSTCOND*/ 0) +} while

Re: CVS commit: src/sys/arch/powerpc

2010-11-06 Thread Simon Burge
Masao Uebayashi wrote: Module Name: src Committed By: uebayasi Date: Sat Nov 6 16:36:27 UTC 2010 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c src/sys/arch/powerpc/include/ibm4xx: vmparam.h Log Message: Merge from uebayasi-xip:

Re: CVS commit: src/sys/arch/mips/mips

2010-11-08 Thread Simon Burge
David Holland wrote: On Mon, Nov 08, 2010 at 06:09:39PM +, Antti Kantee wrote: Modified Files: src/sys/arch/mips/mips: locore_mips1.S Log Message: In TLBRead, restore PID before doing the saves so that the caller's TLB entries are used instead of the PID given as the

Re: CVS commit: src/sys/arch/mips/mips

2010-11-09 Thread Simon Burge
Antti Kantee wrote: On Tue Nov 09 2010 at 13:10:02 +1100, Simon Burge wrote: David Holland wrote: On Mon, Nov 08, 2010 at 06:09:39PM +, Antti Kantee wrote: Modified Files: src/sys/arch/mips/mips: locore_mips1.S Log Message: In TLBRead, restore PID

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Simon Burge
Matt Thomas wrote: On Nov 25, 2010, at 9:00 AM, Antti Kantee wrote: On Fri Nov 26 2010 at 01:50:11 +0900, Izumi Tsutsui wrote: but shouldn't we fix stub first, then discuss pros and blah of the change? Current binaries have not worked at all on MIPS1 since the last December. Like I

Re: CVS commit: src

2011-01-17 Thread Simon Burge
Jukka Ruohonen wrote: Module Name: src Committed By: jruoho Date: Mon Jan 17 11:09:08 UTC 2011 Modified Files: src/distrib/sets/lists/comp: mi src/share/misc: Makefile Removed Files: src/share/misc: operator Log Message: Remove

Re: CVS commit: src

2011-01-27 Thread Simon Burge
Hi Pooka, Antti Kantee wrote: Module Name: src Committed By: pooka Date: Wed Jan 26 01:18:55 UTC 2011 Added Files: [ ... ] src/sys/arch/emips: Makefile Out of curiosity, was there any thought is adding this to evbmips instead of getting its own top-level arch

Re: CVS commit: src

2011-01-28 Thread Simon Burge
Antti Kantee wrote: On Fri Jan 28 2011 at 18:05:50 +0900, Izumi Tsutsui wrote: Out of curiosity, was there any thought is adding this to evbmips instead of getting its own top-level arch subdir? emips already has native bootloader and src/distrib files, so it's enough reason to have

Re: CVS commit: src

2011-01-30 Thread Simon Burge
Matt Thomas wrote: On Jan 28, 2011, at 3:38 PM, matthew green wrote: disklabel.h should export nothing to userland and values userland needs should be obtained via sysctl. I've been asking this question of various developers for a while. how do i create a disklabel on a file

Re: CVS commit: src/sys/kern

2011-06-03 Thread Simon Burge
Martin Husemann wrote: On Thu, Jun 02, 2011 at 09:21:11PM +0100, David Laight wrote: Passing 'l' is a register rename (or copy) so is almost zero cost. Recovering curlwp may involve a function call, and is, at best, a real memory access of global data (possibly via an asm statement)

Re: CVS commit: src/sys/arch

2011-06-09 Thread Simon Burge
Matt Thomas wrote: Module Name: src Committed By: matt Date: Tue Jun 7 00:48:32 UTC 2011 Modified Files: [ ... alpha files ... ] src/sys/arch/mips/mips: mips_machdep.c src/sys/arch/powerpc/powerpc: fpu.c powerpc_machdep.c Log Message: Switch alpha to

Re: CVS commit: src/share/man/man4

2011-08-30 Thread Simon Burge
Martin Husemann wrote: Just curious: are there analog TV feeds out there, anywhere, still? Some parts of Australia until the end of next year... Cheers, Simon.

Re: CVS commit: src/external/bsd/libevent/dist

2011-09-16 Thread Simon Burge
Joerg Sonnenberger wrote: Module Name: src Committed By: joerg Date: Fri Sep 16 16:09:03 UTC 2011 Modified Files: src/external/bsd/libevent/dist: log.h Log Message: Use __dead Has this and the other 15 or so changes you've made to src/external in the last month all

Re: CVS commit: src/external/bsd/libevent/dist

2011-09-18 Thread Simon Burge
Joerg Sonnenberger wrote: Which 15 changes in src/external are you talking about? Some of them were only Makefile changes, so trimmed from the list; src/crypto/external/bsd/openssh Message-Id: 20110825153701.1ff6b17...@cvs.netbsd.org Message-Id: 20110829210854.ee03417...@cvs.netbsd.org

Re: CVS commit: src/sys/arch/evbppc

2011-12-12 Thread Simon Burge
KIYOHARA Takashi wrote: Module Name: src Committed By: kiyohara Date: Mon Dec 12 11:23:58 UTC 2011 Modified Files: src/sys/arch/evbppc/explora: autoconf.c src/sys/arch/evbppc/obs405: obs200_autoconf.c obs266_autoconf.c obs600_autoconf.c

Re: CVS commit: src

2011-12-20 Thread Simon Burge
Joerg Sonnenberger wrote: On which mailling list was this change discussed? One thing that jumps out: Should this new code panic in sys_mmap() if it can't handle a request instead of just failing the request? That seems a little ... heavy handed. Please also stick to KNF (#defineTAB),

Re: CVS commit: src

2012-07-08 Thread Simon Burge
Mindaugas Rasiukevicius wrote: [ ... ] Log Message: Add MurmurHash2 -- a non-cryptographic hash function by Austin Appleby. The code is taken from the upstream and is in the public domain. I'm curious why you've chosen MurmurHash2 instead of MurmurHash3 given the known problems with

Re: CVS commit: src

2012-07-08 Thread Simon Burge
Mindaugas Rasiukevicius wrote: Simon Burge sim...@netbsd.org wrote: [ ... ] Log Message: Add MurmurHash2 -- a non-cryptographic hash function by Austin Appleby. The code is taken from the upstream and is in the public domain. I'm curious why you've chosen MurmurHash2

Re: CVS commit: src

2012-07-08 Thread Simon Burge
Mindaugas Rasiukevicius wrote: Simon Burge sim...@netbsd.org wrote: Mindaugas Rasiukevicius wrote: Simon Burge sim...@netbsd.org wrote: [ ... ] Log Message: Add MurmurHash2 -- a non-cryptographic hash function by Austin Appleby. The code is taken from

Re: CVS commit: src

2012-07-08 Thread Simon Burge
Mindaugas Rasiukevicius wrote: Simon Burge sim...@netbsd.org wrote: Are you referring to the weakness when using 4-bytes? Anyway, that is why the file name does not have 2 in it, so that we could add MurmurHash3 as well. That's completely different to the other hashes we

Re: CVS commit: src/sys/arch/mips/mips

2018-08-08 Thread Simon Burge
Martin Husemann wrote: > On Wed, Aug 08, 2018 at 12:11:39PM +, m...@netbsd.org wrote: > > On Wed, Aug 08, 2018 at 01:59:46PM +0200, Martin Husemann wrote: > > > On Wed, Aug 08, 2018 at 11:49:21AM +, m...@netbsd.org wrote: > > > > Can we use aprint_debug instead? > > > > > > It is not

Re: CVS commit: src/usr.bin/vmstat

2018-12-12 Thread Simon Burge
Hi Sevan, "Sevan Janiyan" wrote: > Module Name: src > Committed By: sevan > Date: Thu Dec 13 01:29:11 UTC 2018 > > Modified Files: > > src/usr.bin/vmstat: vmstat.1 > > Log Message: > > Describe what happens when you run vmstat witout any options aka the first > line > of vmstat.

Re: CVS commit: src/usr.bin/vmstat

2018-12-12 Thread Simon Burge
Hi Sevan, Sevan Janiyan wrote: > How about this? > > Index: usr.bin/vmstat/vmstat.1 > === > RCS file: /cvsroot/src/usr.bin/vmstat/vmstat.1,v > retrieving revision 1.23 > diff -u -p -r1.23 vmstat.1 > --- usr.bin/vmstat/vmstat.1

Re: CVS commit: src/usr.sbin/sysinst

2019-02-27 Thread Simon Burge
Martin Husemann wrote: > On Wed, Feb 27, 2019 at 07:33:11PM +1100, Simon Burge wrote: > > Looking at the code in question, is reducing the number of calls to > > addstr() really something that needs to be optimised? A simple > > > > for (n = 0; n < win->ws

Re: CVS commit: src/usr.sbin/sysinst

2019-02-27 Thread Simon Burge
Martin Husemann wrote: > On Tue, Feb 26, 2019 at 01:09:35PM +, Joerg Sonnenberger wrote: > > Module Name:src > > Committed By: joerg > > Date: Tue Feb 26 13:09:35 UTC 2019 > > > > Modified Files: > > src/usr.sbin/sysinst: run.c > > > > Log Message: > > Avoid

Re: Leak Sanitizer - how to suppress leaks

2019-09-12 Thread Simon Burge
Kamil Rytarowski wrote: > I will revert it, but I am looking for a more generic approach. > > How about adding ifdef __NO_LEAKS like: > > #ifdef __NO_LEAKS > free(3)? > #endif > > And in lsan/asan/valgrind/etc checks use -D__NO_LEAKS. Sorry if I'm missing something that has been already

Re: CVS commit: src/sys/ufs/ufs

2020-02-26 Thread Simon Burge
"Maxime Villard" wrote: > Module Name: src > Committed By: maxv > Date: Wed Feb 26 18:00:12 UTC 2020 > > Modified Files: > > src/sys/ufs/ufs: ufs_vnops.c > > Log Message: > > Zero out the padding in 'd_namlen', to prevent info leaks. Same logic as > ufs_makedirentry(). Is it

Re: CVS commit: src/sys/kern

2020-01-21 Thread Simon Burge
"Christos Zoulas" wrote: > Log Message: > > Don't crash if we are on a hippie trail, head full of zombie +1 for any Australian references in a commit message :) Cheers, Simon.

Re: CVS commit: src/sys

2020-01-03 Thread Simon Burge
Jason Thorpe wrote: > > Is it worth keeping the boottime symbol about so that a netbsd-9 vmstat > > binary will still work with a -current kernel? We could possibly wrap > > boottime with a COMPAT_90 check too?. > > Define "work". A dummy symbol would have no valid contents. I guess > if you

Re: CVS commit: src/sys

2020-01-03 Thread Simon Burge
Hey Jason, Jason Thorpe wrote: > > On Jan 3, 2020, at 10:11 AM, Frank Kardel wrote: > > > > Hi Jason ! > > > > Could you please check that kmem using tools can cope with the missing > > _boottime symbol. > > Hey Frank... this should fix it: > > $NetBSD: vmstat.c,v 1.231 2020/01/03

Re: CVS commit: src/lib/libcurses

2020-03-12 Thread Simon Burge
Hi Roy, "Roy Marples" wrote: > Module Name: src > Committed By: roy > Date: Wed Mar 11 21:33:38 UTC 2020 > > Modified Files: > > src/lib/libcurses: initscr.c > > Log Message: > > curses: application should exit if initscr(3) fails > > POSIX defines this behaviour here: >

Re: CVS commit: src/sys/arch/mips/mips

2020-06-09 Thread Simon Burge
Izumi Tsutsui wrote: > > Module Name:src > > Committed By: simonb > > Date: Tue Jun 9 06:18:01 UTC 2020 > > > > Modified Files: > > src/sys/arch/mips/mips: mips_machdep.c > > > > Log Message: > > If we are on a SiByte or Cavium CPU with an FPU, report as

Re: CVS commit: src/sys/arch/mips/mips

2020-06-09 Thread Simon Burge
Simon Burge wrote: > > > Module Name: src > > > Committed By: simonb > > > Date: Tue Jun 9 06:18:01 UTC 2020 > > > > > > Modified Files: > > > src/sys/arch/mips/mips: mips_machdep.c > > > > > > Lo

Re: CVS commit: src/sys/arch/x86/x86

2020-06-06 Thread Simon Burge
"Kamil Rytarowski" wrote: > Module Name: src > Committed By: kamil > Date: Fri Jun 5 21:48:04 UTC 2020 > > Modified Files: > > src/sys/arch/x86/x86: cpu_rng.c > > Log Message: > > Change const unsigned to preprocessor define > > Fixes GCC -O0 build with the stack protector.

Re: CVS commit: src/sys/arch/mips/cavium/dev

2020-06-26 Thread Simon Burge
Hi Rin, Rin Okuyama wrote: > Hi, > > On 2020/06/23 14:18, Simon Burge wrote: > > Module Name:src > > Committed By: simonb > > Date: Tue Jun 23 05:18:43 UTC 2020 > > > > Modified Files: > > src/sys/arch/mips/cavium/dev

Re: CVS commit: src/sys/conf

2020-07-08 Thread Simon Burge
"Valeriy E. Ushakov" wrote: > Module Name: src > Committed By: uwe > Date: Wed Jul 8 19:39:22 UTC 2020 > > Modified Files: > > src/sys/conf: assym.mk > > Log Message: > > Drop -fstack-usage* from CFLAGS passed genassym. > We don't want it to create a "-.su" file. Thanks! Cheers,

Re: CVS commit: src/usr.bin/make

2020-08-02 Thread Simon Burge
"Roland Illig" wrote: > Module Name: src > Committed By: rillig > Date: Sun Aug 2 09:43:22 UTC 2020 > > Modified Files: > > src/usr.bin/make: var.c > > Log Message: > > make(1): use shorter local variable names > > The c in cp was redundant since the context makes it obvious that