cvs commit: src/lib/msun Makefile src/lib/msun/src math.h s_modfl.c

2007-06-13 Thread Bruce Evans
bde 2007-06-14 06:39:18 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) lib/msun Makefile lib/msun/src math.h Added files: (Branch: RELENG_6) lib/msun/src s_modfl.c Log: MFC: Makefile 1.76 src/math.

cvs commit: src/lib/msun/src s_frexpf.c

2007-06-13 Thread Bruce Evans
bde 2007-06-14 06:44:25 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) lib/msun/src s_frexpf.c Log: MFC: 1.9: fix an alaising bug. Revision ChangesPath 1.8.14.1 +1 -1 src/lib/msun/src/s_frexpf.c _

Re: cvs commit: src/sbin/mknod mknod.c

2007-06-14 Thread Bruce Evans
On Thu, 14 Jun 2007, Xin LI wrote: delphij 2007-06-14 03:16:16 UTC FreeBSD src repository Modified files: sbin/mknod mknod.c Log: In the previous changeset a cast of myminor to u_int were removed, which will cause problems on architectures where longs are longer than int

Re: cvs commit: src/sys/libkern mcount.c

2007-06-14 Thread Bruce Evans
On Wed, 13 Jun 2007, Kip Macy wrote: On 6/13/07, Kip Macy <[EMAIL PROTECTED]> wrote: - Original message - No. It's unlikely that you even configure profiling. Bruce ROTFL. In that case what does 'config -pp' do? And why did it print something to the effect of "profiling configured" on the con

Re: cvs commit: src/sys/libkern mcount.c

2007-06-14 Thread Bruce Evans
On Wed, 13 Jun 2007, Kip Macy wrote: It's unlikely because 0.01% of users configure kernel profiling and you didn't report configuring it. Profiling doesn't hang for me, but I use uncommitted fixes for locking, and only use it on amd64 and i386, and haven't tried it under SMP lately. Profili

cvs commit: src/usr.bin/netstat if.c

2007-06-14 Thread Bruce Evans
bde 2007-06-14 12:38:12 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) usr.bin/netstat if.c Log: MFC: all except 1.63: 1.59-1.62: already merged 1.63: removal of bridge(45) not merged 1.64: already merged 1.65: use uintmax_t 1.66: repai

cvs commit: src/usr.bin/top machine.c

2007-06-15 Thread Bruce Evans
bde 2007-06-15 12:03:07 UTC FreeBSD src repository Modified files: usr.bin/top machine.c Log: Third stage of unbreaking printing of pseudo-nice values (realtime priorities, etc.) in the NICE field: Use a combination of pri_native and pri_user instead of pri_le

Re: cvs commit: src/sys/kern kern_mutex.c

2007-06-15 Thread Bruce Evans
On Mon, 11 Jun 2007, John Baldwin wrote: On Friday 08 June 2007 10:20:19 pm Bruce Evans wrote: On Fri, 8 Jun 2007, John Baldwin wrote: On Friday 08 June 2007 10:50:15 am Bruce Evans wrote: On Thu, 7 Jun 2007, John Baldwin wrote: ["this" is in vm_page_zero_idle() where the v

Re: cvs commit: src/sys/kern kern_mutex.c

2007-06-17 Thread Bruce Evans
On Fri, 15 Jun 2007, John Baldwin wrote: On Friday 15 June 2007 04:46:30 pm Bruce Evans wrote: On Mon, 11 Jun 2007, John Baldwin wrote: As to why preemption doesn't work for SMP, a thread only knows to preempt if it makes a higher priority thread runnable. This happens in mtx_u

Re: cvs commit: src/lib/libarchive archive_read_open_fd.c archive_read_open_filename.c

2007-06-18 Thread Bruce Evans
On Sun, 17 Jun 2007, Tim Kientzle wrote: Colin Percival wrote: Tim Kientzle wrote: I fear I'll have to avoid seeks ... tape drives on FreeBSD seem to return garbage from lseek(). Is there any reason why the tape drivers can't be fixed? lseek(2) succeeds for almost all file types except

Re: cvs commit: src/share/mk sys.mk

2007-06-27 Thread Bruce Evans
On Wed, 27 Jun 2007, Xin LI wrote: Andrey Chernov wrote: I just sent this cross-building compatible variant to re@ for approve: --- sys.mk.orig 2007-06-27 14:04:15.0 +0400 +++ sys.mk 2007-06-27 14:04:33.0 +0400 @@ -35,7 +35,7 @@ CFLAGS ?= -O .else CC

cvs commit: src/sys/fs/msdosfs msdosfs_fat.c msdosfsmount.h

2007-07-10 Thread Bruce Evans
bde 2007-07-10 13:20:24 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_fat.c msdosfsmount.h Log: Don't use almost perfectly pessimal cluster allocation. Allocation of the the first cluster in a file (and, if the allocation cannot be continued con

cvs commit: src/sys/fs/msdosfs bpb.h msdosfs_fat.c msdosfs_vfsops.c msdosfsmount.h

2007-07-12 Thread Bruce Evans
bde 2007-07-12 16:09:07 UTC FreeBSD src repository Modified files: sys/fs/msdosfs bpb.h msdosfs_fat.c msdosfs_vfsops.c msdosfsmount.h Log: Fix some bugs involving the fsinfo block (many remain unfixed). This is part of fixing msdosfs for lar

cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c

2007-07-12 Thread Bruce Evans
bde 2007-07-12 17:17:47 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vfsops.c Log: Round up the FAT block size to a multiple of the sector size so that i/o to the FAT is possible. Make the FAT block size less arbitrary before it is rounded up

Re: cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c

2007-07-13 Thread Bruce Evans
On Fri, 13 Jul 2007, Ben Kaduk wrote: I recently got a patch committed to the installation chapter of the handbook, which included two occasions of clarifying ``MS-DOS filesystem'' as ``FAT16 or FAT32'' [1,2 for present incarnation]. I am too young to remember the existence of FAT12, so I'll ha

cvs commit: src/sys/fs/msdosfs msdosfs_fat.c msdosfs_vnops.c

2007-07-20 Thread Bruce Evans
bde 2007-07-20 16:21:47 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_fat.c msdosfs_vnops.c Log: Clean up before implementing vfs clustering for msdosfs: In msdosfs_read(), mainly reorder the main loop to the same order as in ffs_read().

cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c

2007-07-20 Thread Bruce Evans
bde 2007-07-20 17:06:57 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vnops.c Log: Implement vfs clustering for msdosfs. This gives a very large speedup for small block sizes (in my tests, about 5 times for write and 3 times for read with a bl

Re: cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c

2007-07-20 Thread Bruce Evans
On Fri, 20 Jul 2007, Alfred Perlstein wrote: * Bruce Evans <[EMAIL PROTECTED]> [070720 10:06] wrote: bde 2007-07-20 17:06:57 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vnops.c Log: Implement vfs clustering for msdosfs. ... msdosfs

cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c

2007-07-23 Thread Bruce Evans
bde 2007-07-23 07:10:17 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vfsops.c Log: Make using msdosfs as the root file system sort of work: o Initialize ownerships and permissions. They were garbage (0) for root mounts since vfs_mountroot_

Re: cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c

2007-07-23 Thread Bruce Evans
On Mon, 23 Jul 2007, LI Xin wrote: Bruce M. Simpson wrote: Bruce Evans wrote: bde 2007-07-23 07:10:17 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vfsops.c Log: Make using msdosfs as the root file system sort of work: In case anyone is

cvs commit: src/sys/fs/msdosfs msdosfs_fat.c msdosfs_vfsops.c

2007-08-03 Thread Bruce Evans
bde 2007-08-03 23:13:51 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_fat.c msdosfs_vfsops.c Log: Oops, fix the fix for the i/o size of the fsinfo block. Its log message explained why the size is 1 sector, but the code used a size of 1 cluster.

cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c

2007-08-05 Thread Bruce Evans
bde 2007-08-05 12:58:34 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vfsops.c Log: Silently fix up the estimated next free cluster number from the fsinfo sector, instead of failing the whole mount if it is garbage. Fields in the fsinfo sector a

cvs commit: src/sys/fs/msdosfs msdosfs_conv.c msdosfs_denode.c msdosfs_fat.c msdosfs_fileno.c msdosfs_lookup.c msdosfs_vfsops.c msdosfs_vnops.c

2007-08-06 Thread Bruce Evans
bde 2007-08-07 01:07:16 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_conv.c msdosfs_denode.c msdosfs_fat.c msdosfs_fileno.c msdosfs_lookup.c msdosfs_vfsops.c msdosfs_vnops.c

cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c

2007-08-06 Thread Bruce Evans
bde 2007-08-07 01:37:59 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vfsops.c Log: Include 's prerequisite instead of depending on namespace pollution in . Sort the include of instead of unsorting it after and depending on the pollution

cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c

2007-08-06 Thread Bruce Evans
bde 2007-08-07 01:40:27 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vnops.c Log: Include and its prerequisite instead of depending on namespace pollution in and/or Approved by:re (kensmith) (blanket) Revision ChangesPath

cvs commit: src/sys/fs/msdosfs msdosfs_denode.c msdosfs_fileno.c msdosfs_iconv.c msdosfs_lookup.c

2007-08-06 Thread Bruce Evans
bde 2007-08-07 02:08:07 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_denode.c msdosfs_fileno.c msdosfs_iconv.c msdosfs_lookup.c Log: Remove unused include(s). Approved by:re (kensmith) (blanket) Revision Chan

cvs commit: src/sys/fs/msdosfs msdosfs_conv.c

2007-08-06 Thread Bruce Evans
bde 2007-08-07 02:11:16 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_conv.c Log: Remove unused include(s). Remove banal comments before includes. Approved by:re (kensmith) (blanket) Revision ChangesPath 1.52 +4 -10

cvs commit: src/sys/fs/msdosfs msdosfs_fat.c

2007-08-06 Thread Bruce Evans
bde 2007-08-07 02:20:37 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_fat.c Log: Sort includes. Remove banal comments before includes. Remove rotted banal comments attached to includes. Approved by:re (kensmith) (blanket) Revisi

cvs commit: src/sys/fs/msdosfs msdosfs_denode.c msdosfs_fat.c msdosfs_fileno.c msdosfs_iconv.c msdosfs_lookup.c

2007-08-06 Thread Bruce Evans
bde 2007-08-07 02:25:56 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_denode.c msdosfs_fat.c msdosfs_fileno.c msdosfs_iconv.c msdosfs_lookup.c Log: Forced commit to note that the log message for the

cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c

2007-08-06 Thread Bruce Evans
bde 2007-08-07 02:27:35 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vfsops.c Log: Sort includes. Remove banal comments attached to includes. Approved by:re (kensmith) (blanket) Revision ChangesPath 1.172 +11 -11src

cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c

2007-08-06 Thread Bruce Evans
bde 2007-08-07 02:28:33 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vnops.c Log: Sort includes. Remove rotted banal comment attached to includes. Approved by:re (kensmith) (blanket) Revision ChangesPath 1.175 +10 -10

cvs commit: src/sys/fs/msdosfs denode.h msdosfs_fat.c

2007-08-06 Thread Bruce Evans
bde 2007-08-07 03:22:10 UTC FreeBSD src repository Modified files: sys/fs/msdosfs denode.h msdosfs_fat.c Log: Fix some style bugs (some whitespace errors only). Approved by:re (kensmith) (blanket) Revision ChangesPath 1.37 +4 -4 src/sys/fs

cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c

2007-08-06 Thread Bruce Evans
bde 2007-08-07 03:38:36 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vfsops.c Log: Fix some style bugs (mainly some whitespace errors). Approved by:re (kensmith) (blanket) Revision ChangesPath 1.173 +21 -23src/sys/fs/msd

cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c

2007-08-06 Thread Bruce Evans
bde 2007-08-07 03:43:28 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vnops.c Log: Fix some style bugs (don't assume that off_t == int64_t; fix some comments; remove some parentheses; fix only a couple of whtespace errors). Approved by:re

cvs commit: src/sys/fs/msdosfs msdosfs_denode.c

2007-08-06 Thread Bruce Evans
bde 2007-08-07 03:59:49 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_denode.c Log: Fix some style bugs (don't assume that off_t == int64_t; fix some comments; remove some parentheses; fix some whitespace errors; fix only one case of a boolean co

cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c

2007-08-06 Thread Bruce Evans
bde 2007-08-07 05:42:10 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vnops.c Log: Fix and update the comments about the effect of the read-only flag on writing. They are still too verbose. Remove nearby unreachable code for handling symlinks.

cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c

2007-08-07 Thread Bruce Evans
bde 2007-08-07 10:35:27 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vnops.c Log: In msdosfs_read() and msdosfs_write(), don't check explicitly for (uio_offset < 0) since this can't happen. If this happens, then the general code handles the pro

Re: cvs commit: src/sys/kern vfs_lookup.c

2007-03-31 Thread Bruce Evans
On Sat, 31 Mar 2007, Robert Watson wrote: rwatson 2007-03-31 16:08:50 UTC FreeBSD src repository Modified files: sys/kern vfs_lookup.c Log: Rather than ignoring any error return from getnewvnode() in nameiinit(), explicitly test and panic. This should not ever happen,

Re: cvs commit: src/include stdio.h src/lib/libc/sys lseek.2 pathconf.2 src/sys/kern vfs_syscalls.c src/sys/sys filio.h unistd.h

2007-04-05 Thread Bruce Evans
On Thu, 5 Apr 2007, Pawel Jakub Dawidek wrote: pjd 2007-04-05 21:10:54 UTC FreeBSD src repository Modified files: include stdio.h lib/libc/sys lseek.2 pathconf.2 sys/kern vfs_syscalls.c sys/sys filio.h unistd.h Log: Implemen

Re: cvs commit: src/contrib/top top.X top.c top.h src/usr.bin/top machine.c

2007-04-15 Thread Bruce Evans
On Sat, 14 Apr 2007, Stanislav Sedov wrote: On Sat, 14 Apr 2007 18:17:30 +0400 Stanislav Sedov <[EMAIL PROTECTED]> mentioned: Well, not quite right. If you screen is wider then 128 symbols, there could be an overflow, since the row buffer is 128 bytes length. I have not touched any limits, ju

cvs commit: src/lib/msun/bsdsrc b_tgamma.c

2007-05-02 Thread Bruce Evans
bde 2007-05-02 13:49:28 UTC FreeBSD src repository Modified files: lib/msun/bsdsrc b_tgamma.c Log: Document (in a comment) the current (slightly broken) handling of special values in more detail, and change the style of this comment to be closer to fdlibm and C99:

cvs commit: src/lib/msun/bsdsrc b_tgamma.c

2007-05-02 Thread Bruce Evans
bde 2007-05-02 15:24:49 UTC FreeBSD src repository Modified files: lib/msun/bsdsrc b_tgamma.c Log: Fix tgamma() on some special args: (1) tgamma(-Inf) returned +Inf and failed to raise any exception, but should always have raised an exception, and should behave l

cvs commit: src/lib/msun/src e_lgamma_r.c e_lgammaf_r.c

2007-05-02 Thread Bruce Evans
bde 2007-05-02 16:54:23 UTC FreeBSD src repository Modified files: lib/msun/src e_lgamma_r.c e_lgammaf_r.c Log: Don't assume that int is signed 32-bits in one place. Keep assuming that ints have >= 31 value bits elsewhere. s/int/int32_t/ seems to have been done

Re: cvs commit: src/sys/kern vfs_vnops.c

2007-05-17 Thread Bruce Evans
On Thu, 17 May 2007, Peter Wemm wrote: peter 2007-05-17 15:31:14 UTC FreeBSD src repository Modified files: sys/kern vfs_vnops.c Log: Eliminate a micro-optimization that hasn't had any effect for 15+ years. Revision ChangesPath 1.249 +0 -5 src/sys/kern

Re: cvs commit: src/usr.sbin/config config.h config.y main.c

2007-05-18 Thread Bruce Evans
On Thu, 17 May 2007, Warner Losh wrote: imp 2007-05-17 04:53:53 UTC FreeBSD src repository Modified files: usr.sbin/config config.h config.y main.c Log: Fix some problems that affect multiple file inclusion. Bruce found this bug and submitted these patches to [EMAIL PROTE

Re: cvs commit: src/sys/kern vfs_vnops.c

2007-05-18 Thread Bruce Evans
On Fri, 18 May 2007, Dmitry Marakasov wrote: * Bruce Evans ([EMAIL PROTECTED]) wrote: peter 2007-05-17 15:31:14 UTC FreeBSD src repository Modified files: sys/kern vfs_vnops.c Log: Eliminate a micro-optimization that hasn't had any effect for 15+ years. Rev

Re: cvs commit: src/sbin/mdconfig mdconfig.8

2007-05-18 Thread Bruce Evans
On Fri, 18 May 2007, Giorgos Keramidas wrote: On 2007-05-18 16:41, Kris Kennaway <[EMAIL PROTECTED]> wrote: On Fri, May 18, 2007 at 01:57:17PM +, Giorgos Keramidas wrote: keramida2007-05-18 13:57:17 UTC FreeBSD src repository (doc committer) Modified files: sbin/mdconfig

Re: cvs commit: src/sys/dev/hptmv ioctl.c

2007-05-20 Thread Bruce Evans
On Sun, 20 May 2007, Matt Jacob wrote: mjacob 2007-05-20 16:49:10 UTC FreeBSD src repository Modified files: sys/dev/hptmvioctl.c Log: Make gcc 4.2 happy by initiatlizing controller && channel prior to a call to a function which *might* then initialize them. MFC after:

Re: cvs commit: src/sys/dev/hptmv ioctl.c

2007-05-21 Thread Bruce Evans
On Sun, 20 May 2007 [EMAIL PROTECTED] wrote: mjacob 2007-05-20 16:49:10 UTC FreeBSD src repository Modified files: sys/dev/hptmvioctl.c Log: Make gcc 4.2 happy by initiatlizing controller && channel prior to a call to a function which *might* then initialize them. MFC af

Re: cvs commit: src/sys/dev/hptmv ioctl.c

2007-05-21 Thread Bruce Evans
On Mon, 21 May 2007 [EMAIL PROTECTED] wrote: On Mon, 21 May 2007, Bruce Evans wrote: But the non-bug is still in the function and should be fixed and documented there, not in all callers. I can't parse this. "Non-bug": it's a warning about a problem which you say d

Re: cvs commit: src/lib/libmemstat memstat_malloc.c

2007-05-21 Thread Bruce Evans
On Mon, 21 May 2007, Robert Watson wrote: rwatson 2007-05-21 18:16:04 UTC FreeBSD src repository Modified files: lib/libmemstat memstat_malloc.c Log: Make pointer argument to kread_string() const since the kernel structure field is const, and then employ __DECONST before gett

Re: cvs commit: src/lib/libmemstat memstat_malloc.c

2007-05-22 Thread Bruce Evans
On Tue, 22 May 2007, Robert Watson wrote: On Tue, 22 May 2007, Poul-Henning Kamp wrote: C unfortunately lacks a syntax that can express suck subtle and non-subtle nuances and recent standardization efforts have shown little interest in offering more "intentional programming" facilities in C.

Re: cvs commit: src/sys/conf files.amd64 files.i386 files.pc98 src/sys/modules/linux Makefile

2007-05-23 Thread Bruce Evans
On Wed, 23 May 2007, Ruslan Ermilov wrote: On Wed, May 23, 2007 at 03:45:52PM +, Konstantin Belousov wrote: kib 2007-05-23 15:45:52 UTC FreeBSD src repository Modified files: sys/conf files.amd64 files.i386 files.pc98 sys/modules/linuxMakefile Log:

Re: cvs commit: src/sys/kern kern_clock.c subr_prof.c subr_witness.c src/sys/sys systm.h

2007-05-23 Thread Bruce Evans
On Wed, 23 May 2007, Robert Watson wrote: On Sun, 20 May 2007, Jeff Roberson wrote: Modified files: sys/kern kern_clock.c subr_prof.c subr_witness.c sys/sys systm.h Log: - Move clock synchronization into a seperate clock lock so the global scheduler lock

Re: cvs commit: src/sys/security/audit audit.c

2007-05-23 Thread Bruce Evans
On Wed, 23 May 2007, Robert Watson wrote: rwatson 2007-05-23 09:32:30 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: No need to force __inline__ of currecord(), as the compiler will usefully inline it when needed already, and the symbol is also require

cvs commit: src/lib/msun/src s_cbrtf.c

2007-05-29 Thread Bruce Evans
bde 2007-05-29 07:13:07 UTC FreeBSD src repository Modified files: lib/msun/src s_cbrtf.c Log: Merge the relevant part of rev.1.14 of s_cbrt.c (a micro-optimization involving moving the check for x == 0). The savings in cycles are smaller for cbrtf() than for cbr

Re: cvs commit: src/sys/amd64/amd64 machdep.c pmap.c src/sys/arm/arm machdep.c pmap.c src/sys/compat/linprocfs linprocfs.c src/sys/compat/linux linux_misc.c src/sys/compat/svr4 svr4_misc.c

2007-05-31 Thread Bruce Evans
On Thu, 31 May 2007, Attilio Rao wrote: attilio 2007-05-31 22:52:15 UTC FreeBSD src repository Modified files: sys/amd64/amd64 machdep.c pmap.c ... Log: Revert VMCNT_* operations introduction. Probabilly, a general approach is not the better solution here, so we should solve

Re: cvs commit: src/sys/arm/arm elf_trampoline.c

2006-11-01 Thread Bruce Evans
On Wed, 1 Nov 2006, Olivier Houchard wrote: cognet 2006-11-01 12:41:43 UTC FreeBSD src repository Modified files: sys/arm/arm elf_trampoline.c Log: Do not include both and , it is a style bug as sys/types.h is included in sys/param.h, so instead just move the #include

Re: cvs commit: src/sys/amd64/amd64 genassym.c src/sys/arm/arm genassym.c src/sys/i386/i386 genassym.c src/sys/ia64/ia64 genassym.c src/sys/kern subr_prf.c tty_cons.c src/sys/powerpc/powerpc genassym.

2006-11-01 Thread Bruce Evans
On Wed, 1 Nov 2006, John Baldwin wrote: On Wednesday 01 November 2006 04:35, Pawel Jakub Dawidek wrote: On Wed, Nov 01, 2006 at 04:54:51AM +, John Birrell wrote: jb 2006-11-01 04:54:51 UTC ... Log: Add a cnputs() function to write a string to the console with a lock to preve

cvs commit: src/usr.bin/top machine.c

2006-11-07 Thread Bruce Evans
bde 2006-11-07 10:03:11 UTC FreeBSD src repository Modified files: usr.bin/top machine.c Log: Second stage of unbreaking thr formatting of the NICE field: decode the priority class and use this to: - print "-" instead of a garbage value for ithreads. Print "-

cvs commit: src/usr.bin/netstat if.c

2006-11-08 Thread Bruce Evans
bde 2006-11-08 15:15:05 UTC FreeBSD src repository Modified files: usr.bin/netstat if.c Log: Don't always print a space character in show_stat(), since a space shouldn't be printed after the last column. This restores the formatting to 79 columns. Revision Cha

Re: cvs commit: src/sys/kern sched_4bsd.c

2006-11-11 Thread Bruce Evans
On Sat, 11 Nov 2006, David Xu wrote: davidxu 2006-11-11 13:11:30 UTC FreeBSD src repository Modified files: sys/kern sched_4bsd.c Log: Unbreak userland priority inheriting in NO_KSE case. Is this what made the non-KSE case unusable? At least with the load average bug

Re: cvs commit: src/sys/kern sched_4bsd.c

2006-11-11 Thread Bruce Evans
On Sun, 12 Nov 2006, David Xu wrote: On Sunday 12 November 2006 00:22, Bruce Evans wrote: On Sat, 11 Nov 2006, David Xu wrote: davidxu 2006-11-11 13:11:30 UTC FreeBSD src repository Modified files: sys/kern sched_4bsd.c Log: Unbreak userland priority inheriting in

Re: cvs commit: src/include ar.h

2006-11-13 Thread Bruce Evans
On Mon, 13 Nov 2006, Joseph Koshy wrote: jkoshy 2006-11-13 04:28:29 UTC FreeBSD src repository Modified files: include ar.h Log: Attempt to improve application portability by marking `struct ar_hdr' as `packed'. The C standard leaves the alignment of individual memb

Re: cvs commit: src/sys/kern sched_4bsd.c

2006-11-13 Thread Bruce Evans
On Mon, 13 Nov 2006, David Xu wrote: On Sunday 12 November 2006 14:26, Bruce Evans wrote: ... Testing showed that nothing much is fixed. Simple benchmarks like: ... %%% for i in 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 do nice -$i sh -c "while :; do echo -n;done" & do

Re: cvs commit: src/include ar.h

2006-11-13 Thread Bruce Evans
On Mon, 13 Nov 2006, Poul-Henning Kamp wrote: In message <[EMAIL PROTECTED]>, Bruce Evans writes: On Mon, 13 Nov 2006, Joseph Koshy wrote: jkoshy 2006-11-13 04:28:29 UTC FreeBSD src repository Modified files: include ar.h Log: Attempt to improve appli

Re: cvs commit: src/include ar.h

2006-11-13 Thread Bruce Evans
On Mon, 13 Nov 2006, Stefan Farfeleder wrote: On Mon, Nov 13, 2006 at 07:30:11PM +1100, Bruce Evans wrote: On Mon, 13 Nov 2006, Joseph Koshy wrote: jkoshy 2006-11-13 04:28:29 UTC FreeBSD src repository Modified files: include ar.h Log: Attempt to improve application

Re: cvs commit: src/include ar.h

2006-11-13 Thread Bruce Evans
On Mon, 13 Nov 2006, M. Warner Losh wrote: In message: <[EMAIL PROTECTED]> Bruce Evans <[EMAIL PROTECTED]> writes: : In , all struct members are char arrays so there will be no : padding in practice. Actually, that isn't the case at all. There are many syste

Re: cvs commit: src/sys/kern sched_4bsd.c

2006-11-14 Thread Bruce Evans
On Tue, 14 Nov 2006, David Xu wrote: On Monday 13 November 2006 17:58, Bruce Evans wrote: Anyway, this isn't the bug in non-KSE. I didn't look hard for the reasons. Top seemed to show the priorites of the hogs not decreasing (numerically increasing) fast enough. Bruce I think I

Re: cvs commit: src/include ar.h

2006-11-14 Thread Bruce Evans
On Tue, 14 Nov 2006, Joseph Koshy wrote: bde> Non-broken code knows that byte-aligned data needs to be copied bde> into structs using memcpy(). Do keep in mind that this is `struct ar_hdr' we are talking about, not something else. Having to use memcpy() to copy from a collection of ASCII strin

Re: cvs commit: src/include ar.h

2006-11-17 Thread Bruce Evans
On Thu, 16 Nov 2006, Yar Tikhiy wrote: On Mon, Nov 13, 2006 at 10:19:58AM -0700, M. Warner Losh wrote: : : BTW, you are responsible for the __packed in . Please remove : it. The __CTASSERT() is enough to detect if heroic packing is ever needed. : The only danger is if something has grown to d

Re: cvs commit: src/include ar.h

2006-11-17 Thread Bruce Evans
On Fri, 17 Nov 2006, Yar Tikhiy wrote: On Thu, Nov 16, 2006 at 04:52:07PM -0700, M. Warner Losh wrote: In message: <[EMAIL PROTECTED]> Yar Tikhiy <[EMAIL PROTECTED]> writes: : Many years ago I was taught that comments in code could help to : avoid such clashes in software developmen

Re: cvs commit: src/include ar.h

2006-11-18 Thread Bruce Evans
On Fri, 17 Nov 2006, M. Warner Losh wrote: In message: <[EMAIL PROTECTED]> Bruce Evans <[EMAIL PROTECTED]> writes: : For that the comment should be something like: : : __packed; /* Align (sic) to work around bugs on arm (*). */ : : but I doubt that arm is

Re: cvs commit: src/include ar.h

2006-11-18 Thread Bruce Evans
On Sat, 18 Nov 2006, M. Warner Losh wrote: In message: <[EMAIL PROTECTED]> Bruce Evans <[EMAIL PROTECTED]> writes: : On Fri, 17 Nov 2006, M. Warner Losh wrote: : : > In message: <[EMAIL PROTECTED]> : >Bruce Evans <[EMAIL PROTECTED]> writ

Re: cvs commit: src/include ar.h

2006-11-18 Thread Bruce Evans
On Sat, 18 Nov 2006, M. Warner Losh wrote: In message: <[EMAIL PROTECTED]> Bruce Evans <[EMAIL PROTECTED]> writes: : On Fri, 17 Nov 2006, M. Warner Losh wrote: : : > In message: <[EMAIL PROTECTED]> : >Bruce Evans <[EMAIL PROTECTED]> writ

Re: cvs commit: src/include ar.h

2006-11-19 Thread Bruce Evans
On Sat, 18 Nov 2006, Marcel Moolenaar wrote: On Nov 18, 2006, at 12:21 PM, Yar Tikhiy wrote: The C standard provides no clues as to how structures are packed or aligned. The only thing it says is that objects have alignment and it can be the same or not the same for different objects. That

cvs commit: src/sys/net route.c

2006-11-22 Thread Bruce Evans
bde 2006-11-23 05:57:15 UTC FreeBSD src repository Modified files: sys/net route.c Log: Initialize a local variable in 2 places just before it is used, not always at the start of rtalloc1(). This backs out part of revs 1.83 and 1.85. Profiling on an i386

cvs commit: src/sys/nfsclient nfs_vnops.c

2006-11-23 Thread Bruce Evans
bde 2006-11-23 09:50:19 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/nfsclientnfs_vnops.c Log: MFC (1.270: don't do null Setattr RPCs for VA_MARK_ATIME). Revision ChangesPath 1.258.2.8 +2 -2 src/sys/nfsclient/nfs_vnops.c

Re: cvs commit: src/sys/kern sched_4bsd.c

2006-12-02 Thread Bruce Evans
Long ago, On Tue, 14 Nov 2006, Bruce Evans wrote: On Tue, 14 Nov 2006, David Xu wrote: On Monday 13 November 2006 17:58, Bruce Evans wrote: Anyway, this isn't the bug in non-KSE. I didn't look hard for the reasons. Top seemed to show the priorites of the hogs not decreasing (n

cvs commit: src/sys/i386/isa clock.c src/sys/amd64/isa clock.c

2006-12-02 Thread Bruce Evans
bde 2006-12-03 03:49:28 UTC FreeBSD src repository Modified files: sys/i386/isa clock.c sys/amd64/isaclock.c Log: Optimized RTC accesses by avoiding null writes to the index register and by only delaying when an RTC register is written to. The delay

Re: cvs commit: src/sys/pci if_xl.c if_xlreg.h

2006-12-05 Thread Bruce Evans
On Wed, 6 Dec 2006, Marius Strobl wrote: marius 2006-12-06 02:18:41 UTC FreeBSD src repository Modified files: sys/pci if_xl.c if_xlreg.h Log: - Use the xl_stats_update() callout instead of if_slowtimo() for driving xl_watchdog() in order to avoid races accessing if

Re: cvs commit: src/sys/pci if_xl.c if_xlreg.h

2006-12-05 Thread Bruce Evans
On Wed, 6 Dec 2006, Bruce Evans wrote: On Wed, 6 Dec 2006, Marius Strobl wrote: ... While at it relax the watchdog a bit by reloading it in xl_txeof()/ xl_txeof_90xB() if there are still packets enqueued. Er, xl_txeof_90xB() was one of the 20-30% of txeof() routines that handled this

Re: cvs commit: src/sys/i386/isa clock.c src/sys/amd64/isa clock.c

2006-12-06 Thread Bruce Evans
On Wed, 6 Dec 2006, Suleiman Souhlal wrote: Bruce Evans wrote: bde 2006-12-03 03:49:28 UTC FreeBSD src repository Modified files: sys/i386/isa clock.c sys/amd64/isaclock.c Log: Optimized RTC accesses by avoiding null writes to the index register and

Re: cvs commit: src/sys/pci if_xl.c

2006-12-07 Thread Bruce Evans
On Fri, 8 Dec 2006, Marius Strobl wrote: marius 2006-12-08 03:18:16 UTC FreeBSD src repository Modified files: sys/pci if_xl.c Log: - Revert the parts of the previous revision which reloaded the watchdog timer in xl_txeof()/xl_txeof_90xB(); xl_poll_locked() uncondit

cvs commit: src/lib/msun/amd64 s_scalbnf.S

2006-12-11 Thread Bruce Evans
bde 2006-12-12 04:42:36 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) lib/msun/amd64 s_scalbnf.S Log: MFC (1.2: add missing ldexpf()). Previous history of ldexpf()'s existence in FreeBSD: 2005/03/07 s_scalbnf.c 1.8: first implemented (fo

Re: cvs commit: src/sys/net if_ethersubr.c

2006-12-12 Thread Bruce Evans
On Tue, 12 Dec 2006, Luigi Rizzo wrote: On Tue, Dec 12, 2006 at 02:13:34PM +0100, Bernd Walter wrote: On Fri, Dec 08, 2006 at 10:36:46AM +, Luigi Rizzo wrote: luigi 2006-12-08 10:36:45 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: F

Re: cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h

2006-12-12 Thread Bruce Evans
On Tue, 12 Dec 2006, Bjoern A. Zeeb wrote: On Tue, 12 Dec 2006, Scott Long wrote: scottl 2006-12-12 05:11:12 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c if_bgereg.h Log: Fix support for certain 575x/578x chips. This consists of the following: ... th

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-12-12 Thread Bruce Evans
On Wed, 13 Dec 2006, Oleg Bulyzhin wrote: On Tue, Dec 12, 2006 at 06:24:43PM -0500, Jung-uk Kim wrote: On Tuesday 12 December 2006 05:25 pm, Oleg Bulyzhin wrote: On Mon, Dec 11, 2006 at 06:00:35PM +, Jung-uk Kim wrote: jkim2006-12-11 18:00:35 UTC FreeBSD src repository Modif

Re: cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h

2006-12-12 Thread Bruce Evans
On Wed, 13 Dec 2006, Oleg Bulyzhin wrote: On Tue, Dec 12, 2006 at 06:09:17PM -0500, Jung-uk Kim wrote: On Tuesday 12 December 2006 05:05 pm, Oleg Bulyzhin wrote: I would say you have simplified it too much. With your change you will get wrong numbers after ifconfig down/up (since it implies

Re: cvs commit: src/lib/libc/sys symlink.2

2006-12-12 Thread Bruce Evans
On Tue, 12 Dec 2006, Pawel Jakub Dawidek wrote: pjd 2006-12-12 20:05:04 UTC FreeBSD src repository Modified files: lib/libc/sys symlink.2 Log: symlink(2) return EACCES if a component of the name2 path prefix denies write permission. Isn't that a bog in symlink(2)? PO

Re: cvs commit: src/lib/libc/sys mkfifo.2

2006-12-13 Thread Bruce Evans
On Wed, 13 Dec 2006, Pawel Jakub Dawidek wrote: pjd 2006-12-13 09:58:49 UTC FreeBSD src repository Modified files: lib/libc/sys mkfifo.2 Log: mkfifo(2) returns EACCES when write permission is denied for a component of the path prefix. It isn't that broken. Write perm

Re: cvs commit: src/lib/libc/sys symlink.2

2006-12-13 Thread Bruce Evans
On Wed, 13 Dec 2006, Pawel Jakub Dawidek wrote: On Wed, Dec 13, 2006 at 01:57:01PM +1100, Bruce Evans wrote: On Tue, 12 Dec 2006, Pawel Jakub Dawidek wrote: pjd 2006-12-12 20:05:04 UTC FreeBSD src repository Modified files: lib/libc/sys symlink.2 Log: symlink(2) return

Re: cvs commit: src/lib/libc/sys chown.2

2006-12-13 Thread Bruce Evans
On Wed, 13 Dec 2006, Pawel Jakub Dawidek wrote: pjd 2006-12-13 11:46:38 UTC FreeBSD src repository Modified files: lib/libc/sys chown.2 Log: Be more precise with EPERM description. When chown(2) is a no-op, it will return 0. VADMIN access is still required for null ch

Re: cvs commit: src/lib/libc/sys chmod.2

2006-12-13 Thread Bruce Evans
On Wed, 13 Dec 2006, Pawel Jakub Dawidek wrote: pjd 2006-12-13 13:22:58 UTC FreeBSD src repository Modified files: lib/libc/sys chmod.2 Log: Append-only flag also denies chmod(2). Is this correct behaviour? I don't like it, but it follows from a literal interpretation

Re: cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h

2006-12-13 Thread Bruce Evans
On Wed, 13 Dec 2006, Bjoern A. Zeeb wrote: On Tue, 12 Dec 2006, Scott Long wrote: [..] I'll try to run some tests with the third write disabled, but I don't have much time left to devote to this particular project. If others would be willing to test with the third write removed, I'd appreciat

Re: cvs commit: src/lib/libc/sys chown.2

2006-12-13 Thread Bruce Evans
On Wed, 13 Dec 2006, Pawel Jakub Dawidek wrote: On Thu, Dec 14, 2006 at 02:31:52AM +1100, Bruce Evans wrote: On Wed, 13 Dec 2006, Pawel Jakub Dawidek wrote: pjd 2006-12-13 11:46:38 UTC FreeBSD src repository Modified files: lib/libc/sys chown.2 Log: Be more precise with

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-12-13 Thread Bruce Evans
On Wed, 13 Dec 2006, Jung-uk Kim wrote: On Wednesday 13 December 2006 03:51 pm, Scott Long wrote: scottl 2006-12-13 20:51:51 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c Log: Remove a redundant write of the firmware reset magic number. It ... I a

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-12-13 Thread Bruce Evans
On Wed, 13 Dec 2006, Scott Long wrote: Bruce Evans wrote: I just noticed that the code is much clearer and less surprising in old versions. In rev.1.84, there is only 1 write and it is immediately followed by the handshake loop. Now there is a lot of code in between. ... Just for my

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-12-15 Thread Bruce Evans
On Thu, 14 Dec 2006, I wrote: On Wed, 13 Dec 2006, Jung-uk Kim wrote: On Wednesday 13 December 2006 03:51 pm, Scott Long wrote: scottl 2006-12-13 20:51:51 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c Log: Remove a redundant write of the firmware

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-12-18 Thread Bruce Evans
On Sat, 16 Dec 2006, I wrote: On Thu, 14 Dec 2006, I wrote: On Wed, 13 Dec 2006, Jung-uk Kim wrote: On Wednesday 13 December 2006 03:51 pm, Scott Long wrote: scottl 2006-12-13 20:51:51 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c Log: Remove a

<    1   2   3   4   5   6   >