cvs commit: src/usr.bin/systat vmstat.c

2006-04-30 Thread Bruce Evans
bde 2006-04-30 09:14:00 UTC FreeBSD src repository Modified files: usr.bin/systat vmstat.c Log: Don't redraw the disk names on every update. This was apparently done to handle changes to the set of disks selected, but it is unnecessary for that since the whole scre

cvs commit: src/usr.bin/systat systat.1

2006-04-30 Thread Bruce Evans
bde 2006-04-30 09:23:11 UTC FreeBSD src repository Modified files: usr.bin/systat systat.1 Log: Removed the description of the nonexistent want_fd command. want_fd existed for only 2 weeks in 1998-1999. It was replaced by general commands to select the set of disk

cvs commit: src/usr.bin/systat vmstat.c

2006-04-30 Thread Bruce Evans
bde 2006-04-30 20:31:00 UTC FreeBSD src repository Modified files: usr.bin/systat vmstat.c Log: Reduce the namei (sub)display by 5 columns to make enough space for a new vnstat display to the right of the namei display. Move the non-vmstat fields {des,num,fre}vn

cvs commit: src/usr.bin/systat systat.1

2006-04-30 Thread Bruce Evans
bde 2006-04-30 22:05:02 UTC FreeBSD src repository Modified files: usr.bin/systat systat.1 Log: Update for moving some fields to the new vnstat display. Don't say that `cache' is for the buffer cache. Describe the uselessnes of `buf'. Revision Changes

cvs commit: src/usr.bin/systat vmstat.c

2006-04-30 Thread Bruce Evans
bde 2006-04-30 22:34:54 UTC FreeBSD src repository Modified files: usr.bin/systat vmstat.c Log: Eliminate the "extended" vm stats. Move all fields in the extended vm stats to the normal vm stats. Sort them into the normal stats according to the man page only in th

cvs commit: src/usr.bin/systat vmstat.c

2006-04-30 Thread Bruce Evans
bde 2006-04-30 23:52:16 UTC FreeBSD src repository Modified files: usr.bin/systat vmstat.c Log: Sort the ex-extended vmstat fields into their documented order in the output too. Fine tune all coordinates and most field widths in the vmstat (sub)display for this

cvs commit: src/usr.bin/systat vmstat.c

2006-04-30 Thread Bruce Evans
bde 2006-05-01 00:26:43 UTC FreeBSD src repository Modified files: usr.bin/systat vmstat.c Log: Unbreak the support for 24-row terminals in the vmstat display. The part that handled the 17th and 18th rows of the vmstat-proper subdisplay was deleted in rev.1.10 when

cvs commit: src/usr.bin/systat systat.1 vmstat.c

2006-05-01 Thread Bruce Evans
bde 2006-05-01 07:02:52 UTC FreeBSD src repository Modified files: usr.bin/systat systat.1 vmstat.c Log: For the vmstat sub-display: vmstat.c: Move totfr to be under daefr and prcfr since it logically belongs there. Move all the count fields (wire, act, inac

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

2006-05-03 Thread Bruce Evans
bde 2006-05-04 03:00:13 UTC FreeBSD src repository Modified files: usr.bin/top machine.c Log: Fixed some style bugs (mainly missing and wrong splitting of long lines). Revision ChangesPath 1.75 +54 -48src/usr.bin/top/machine.c ___

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

2006-05-03 Thread Bruce Evans
bde 2006-05-04 03:56:31 UTC FreeBSD src repository Modified files: usr.bin/top machine.c Log: Move the formatting of the NICE column to a new function format_nice() so that it can be more easily unbroken and extended. Try to use `static', `const' (as appropria

Re: cvs commit: src/sys/i386/include npx.h src/sys/i386/i386 vm_machdep.c src/sys/i386/isa npx.c

2006-05-27 Thread Bruce Evans
On Sun, 28 May 2006, David Xu wrote: davidxu 2006-05-28 02:03:13 UTC FreeBSD src repository Modified files: sys/i386/include npx.h sys/i386/i386vm_machdep.c sys/i386/isa npx.c Log: When creating a new thread, inherit floating-point environment from current

Re: cvs commit: src/sys/i386/isa npx.c

2006-05-28 Thread Bruce Evans
On Sun, 28 May 2006, David Xu wrote: davidxu 2006-05-28 04:40:45 UTC FreeBSD src repository Modified files: sys/i386/isa npx.c Log: If parent thread never used FPU, the only work is to clear flag PCB_NPXINITDONE doesn't mean that a thread never used the FPU. It means that

Re: cvs commit: src/sys/i386/include npx.h src/sys/i386/i386 vm_machdep.c src/sys/i386/isa npx.c

2006-05-28 Thread Bruce Evans
On Sun, 28 May 2006, David Xu wrote: On Sunday 28 May 2006 13:15, Bruce Evans wrote: ... POSIX seems to require inheriting the entire environment, but this change does extra work to disinherit everything except the control word(s), except in the fxsr case it is missing the extra work to

Re: cvs commit: src/sys/i386/isa npx.c

2006-05-28 Thread Bruce Evans
On Sun, 28 May 2006, David Xu wrote: On Sunday 28 May 2006 15:25, Bruce Evans wrote: On Sun, 28 May 2006, David Xu wrote: davidxu 2006-05-28 04:40:45 UTC FreeBSD src repository Modified files: sys/i386/isa npx.c Log: If parent thread never used FPU, the only work is to

Re: cvs commit: src/sys/i386/isa npx.c

2006-05-28 Thread Bruce Evans
On Sun, 28 May 2006, David Xu wrote: On Sunday 28 May 2006 19:15, Bruce Evans wrote: Starting with a clean FP state like the old code does is safest, but POSIX explicitly requires copying the environment, and bugs in the new code result in half of the most dangerous part of the environment

Re: cvs commit: src/sys/i386/isa npx.c

2006-05-29 Thread Bruce Evans
On Mon, 29 May 2006, David Xu wrote: On Sunday 28 May 2006 21:58, Bruce Evans wrote: OK if it is correct to not copy the environment. I will revert changes, I think I should keep it safe as before. Thanks. I couldn't find any more details about this using google. ... old CPUs (at

Re: cvs commit: src/sys/ufs/ufs ufs_vnops.c

2006-06-01 Thread Bruce Evans
On Thu, 1 Jun 2006, Scott Long wrote: Maxim Konovalov wrote: maxim 2006-05-31 13:15:29 UTC FreeBSD src repository Modified files: sys/ufs/ufs ufs_vnops.c Log: o According to POSIX, the result of ftruncate(2) is unspecified for file types other than VREG, VDIR and

Re: cvs commit: src/sys/ufs/ufs ufs_vnops.c

2006-06-01 Thread Bruce Evans
On Thu, 1 Jun 2006, Ceri Davies wrote: On Thu, Jun 01, 2006 at 12:05:23PM +0930, Greg 'groggy' Lehey wrote: On Wednesday, 31 May 2006 at 13:15:29 +, Maxim Konovalov wrote: maxim 2006-05-31 13:15:29 UTC FreeBSD src repository Modified files: sys/ufs/ufs ufs_vnops.c

Re: cvs commit: src/sys/ufs/ufs ufs_vnops.c

2006-06-01 Thread Bruce Evans
On Thu, 1 Jun 2006, John Baldwin wrote: On Thursday 01 June 2006 06:01, Alexey Dokuchaev wrote: On Thu, Jun 01, 2006 at 10:49:50AM +0100, Ceri Davies wrote: @@ -69,6 +69,10 @@ the file must be open for writing. .Sh RETURN VALUES .Rv -std +If the file to be modified is not a directory or +a

Re: cvs commit: src/sys/sys sx.h

2006-08-30 Thread Bruce Evans
On Tue, 29 Aug 2006, John Baldwin wrote: jhb 2006-08-29 20:36:33 UTC FreeBSD src repository Modified files: sys/sys sx.h Log: The _sx_assert() prototype should exist if either of INVARIANTS or INVARIANT_SUPPORT is defined so you can build a kernel with INVARIANT_S

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

2006-09-12 Thread Bruce Evans
On Mon, 11 Sep 2006, John Baldwin wrote: I've told Martin numerous times that t_session is not locked by the proctree lock and thus by default it is covered by Giant. I think much of the session stuff still belongs under Giant in fact. I thought that the session stuff was already locked. It

Re: bsdtar vs gtar performance

2006-09-24 Thread Bruce Evans
On Sat, 23 Sep 2006, Tim Kientzle wrote: Kris and Ruslan were recently discussing the performance of bsdtar relative to gtar, which prompted me to do some measurements of my own. I used /usr/ports as my test, because it stresses file and directory creation over extracting large files. Here ar

Re: cvs commit: src/sys/dev/atkbdc atkbd.c src/sys/dev/digi digi.c src/sys/dev/kbdmux kbdmux.c src/sys/dev/syscons scvidctl.c syscons.c src/sys/dev/uart uart_kbd_sun.c src/sys/dev/usb ukbd.c src/sys/d

2006-09-28 Thread Bruce Evans
On Wed, 27 Sep 2006, John Baldwin wrote: On Wednesday 27 September 2006 17:29, Ruslan Ermilov wrote: On Wed, Sep 27, 2006 at 05:10:51PM -0400, John Baldwin wrote: I still think doing this (via IOCPARM_IVAL()) is best and is probably a much smaller diff. You don't consider that many ioctls

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

2006-09-29 Thread Bruce Evans
On Fri, 29 Sep 2006, Martin Blapp wrote: Free tty struct after last close. This should fix the pty-leak by numbers. Remove workarounds for tty_refcount beeing 0, this will be fixed differently later. Back out rev 1.145 since we initialize the tty struct from scratch and bad things can't

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

2006-09-30 Thread Bruce Evans
On Sat, 30 Sep 2006, Martin Blapp wrote: mbr 2006-09-30 08:11:52 UTC FreeBSD src repository Modified files: sys/kern tty.c Log: Any call of tty_close() with a tty refcount of <= 1 is wrong and we will free the tty in this case. This is a workaround until the underla

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

2006-09-30 Thread Bruce Evans
On Sat, 30 Sep 2006, Martin Blapp wrote: What's the best to do now ? Back out again the last commit and that destroy slave can be called, make tty_pts.c as broken ? Or will you or Bruce fix the underlaying problem ? It's far beyond my horizont ... Start with removing all device and tty destru

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

2006-09-30 Thread Bruce Evans
On Fri, 29 Sep 2006, Martin Blapp wrote: I think I found the bug while looking for problems near vgonel(). We're nowhere near ready to free devices in in last-close, since vgonel() doesn't do anything to evict processes from device functions before it forces the device closed. Drivers must be

Re: cvs commit: CVSROOT modules

2006-10-03 Thread Bruce Evans
On Tue, 3 Oct 2006, Bruce M Simpson wrote: bms 2006-10-03 10:19:43 UTC FreeBSD src repository Modified files: .modules Log: Revert the previous delta. The CVSROOT/modules administrative file is not branched and must contain entries applicable to all branches

cvs commit: src/sys/nfs nfsm_subs.h

2006-10-03 Thread Bruce Evans
bde 2006-10-03 17:53:04 UTC FreeBSD src repository Modified files:(Branch: RELENG_4) sys/nfs nfsm_subs.h Log: Fixed a syntax error (no statement after a label) so that nfs in RELENG_4 can be compiled by the -current gcc again. Revision Changes

cvs commit: src/sys/dev/ppbus ppb_msq.c

2006-10-03 Thread Bruce Evans
bde 2006-10-03 18:04:55 UTC FreeBSD src repository Modified files:(Branch: RELENG_4) sys/dev/ppbusppb_msq.c Log: MFC (1.13: fix a syntax error (no statement after a label)) so that this file in RELENG_4 can be compiled by gcc in -current again. Revision

cvs commit: src/sys/dev/sym sym_hipd.c

2006-10-03 Thread Bruce Evans
bde 2006-10-03 18:13:49 UTC FreeBSD src repository Modified files:(Branch: RELENG_4) sys/dev/sym sym_hipd.c Log: MFC (1.34: fix a syntax error (no statement after a label)) so that this file in RELENG_4 can be compiled by gcc in -current again. Revisio

cvs commit: src/sys/i386/i386 machdep.c

2006-10-03 Thread Bruce Evans
bde 2006-10-03 18:19:18 UTC FreeBSD src repository Modified files:(Branch: RELENG_4) sys/i386/i386machdep.c Log: MFC (1.519: fix a syntax error (no statement after a label)) so that this file in RELENG_4 can be compiled by gcc in -current again. Revisio

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

2006-10-06 Thread Bruce Evans
bde 2006-10-06 13:24:17 UTC FreeBSD src repository Modified files:(Branch: RELENG_4) sys/i386/isa clock.c Log: Fixed overflow at 2G for writing clock frequencies using sysctls. Reads worked correctly using the IU format. Writes only supported signed integ

cvs commit: src/sys/i386/isa cy.c

2006-10-06 Thread Bruce Evans
bde 2006-10-06 14:16:21 UTC FreeBSD src repository Modified files:(Branch: RELENG_4) sys/i386/isa cy.c Log: Fail the probe instead of panicing if the memory address is 0. The memory address can be 0 only with certain misconfigurations. We don't try to de

cvs commit: src/sys/ddb db_command.c db_examine.c db_output.c db_output.h

2006-10-08 Thread Bruce Evans
bde 2006-10-08 18:15:08 UTC FreeBSD src repository Modified files: sys/ddb db_command.c db_examine.c db_output.c db_output.h Log: Fixed formatting of printing of command tables. WIth the default max output width of 79, only 6 columns

cvs commit: src/sys/ddb db_command.c

2006-10-08 Thread Bruce Evans
bde 2006-10-08 18:37:00 UTC FreeBSD src repository Modified files: sys/ddb db_command.c Log: Added some aliases: - `b' is now an official alias for `break'. It used to be an unofficial alias, but this was broken by adding the `bt' alias for `trace'. - `t

Re: cvs commit: src/sys/ddb db_command.c

2006-10-08 Thread Bruce Evans
On Sun, 8 Oct 2006, Pawel Jakub Dawidek wrote: On Sun, Oct 08, 2006 at 06:37:00PM +, Bruce Evans wrote: ... - `registers' is now an alias for `show registers'. This is a hack to break the unofficial `r' alias for `reset'. `r' really means `registers

cvs commit: src/share/man/man4 ddb.4

2006-10-08 Thread Bruce Evans
bde 2006-10-09 02:27:55 UTC FreeBSD src repository Modified files: share/man/man4 ddb.4 Log: Document new aliases `b', `t' and `registers'. Document old aliases `bt', `c', `d', `p', `s', `w' and `where'. Revision ChangesPath 1.35 +33 -1 src/share

cvs commit: src/sys/ddb db_output.c

2006-10-09 Thread Bruce Evans
bde 2006-10-10 06:36:01 UTC FreeBSD src repository Modified files: sys/ddb db_output.c Log: Fixed loss of whitespace suppression at ends of lines. Whitespace suppression is only needed at ends of lines, but rev.1.32 forced it off precisely there. The --

cvs commit: src/sys/ddb db_command.c src/sys/sparc64/sparc64 db_interface.c src/sys/powerpc/powerpc db_interface.c

2006-10-10 Thread Bruce Evans
bde 2006-10-10 07:26:54 UTC FreeBSD src repository Modified files: sys/ddb db_command.c sys/sparc64/sparc64 db_interface.c sys/powerpc/powerpc db_interface.c Log: The powerpc and sparc64 MD `reboot' commands should never have existed since they just

cvs commit: src/share/man/man4 ddb.4

2006-10-10 Thread Bruce Evans
bde 2006-10-10 11:07:37 UTC FreeBSD src repository Modified files: share/man/man4 ddb.4 Log: Sort some of the most inconsistently ordered descriptions of commands (the group of watchpoint commands, and the `reset' command). NetBSD has sorted everything alphabetic

cvs commit: src/share/man/man4 ddb.4

2006-10-10 Thread Bruce Evans
bde 2006-10-10 23:09:10 UTC FreeBSD src repository Modified files: share/man/man4 ddb.4 Log: Document the `kill' command. Submitted by: Allan Fields <[EMAIL PROTECTED]> PR: 82779 Revision ChangesPath 1.38 +19 -8 src/share/man/ma

cvs commit: src/share/man/man4 ddb.4

2006-10-10 Thread Bruce Evans
bde 2006-10-10 23:40:48 UTC FreeBSD src repository Modified files: share/man/man4 ddb.4 Log: Forced commit to note that the previous commit also did the following: - document the (new MI, old MD) `halt' command - document the (new MI, old MD) `reboot' alias - remo

cvs commit: src/sys/nfsclient nfs_vnops.c

2006-10-14 Thread Bruce Evans
bde 2006-10-14 07:25:12 UTC FreeBSD src repository Modified files: sys/nfsclientnfs_vnops.c Log: Don't do null Setattr RPCs for VA_MARK_ATIME. When we added the VA_MARK_ATIME feature to fix POSIX conformance fore execve() and mmap(), we thought that it was optimi

cvs commit: src/lib/msun/i387 fenv.h

2006-10-14 Thread Bruce Evans
bde 2006-10-14 20:35:56 UTC FreeBSD src repository Modified files: lib/msun/i387fenv.h Log: Moved __BEGIN_DECLS up a little so that it covers __test_sse() and C++ isn't broken, PR: 104425 Revision ChangesPath 1.5 +2 -2 src/lib

Re: cvs commit: src/sys/nfsclient nfs_vnops.c

2006-10-14 Thread Bruce Evans
On Sun, 15 Oct 2006, Rink Springer wrote: On Sat, Oct 14, 2006 at 07:25:12AM +, Bruce Evans wrote: Log: Don't do null Setattr RPCs for VA_MARK_ATIME. When we added the ... This is the smallest and easiest to fix of several bugs that have increased the number of RPCs for k

Re: cvs commit: src/sys/nfsclient nfs_vnops.c

2006-10-15 Thread Bruce Evans
a date too hard for me to recover, Kris wrote: On Sun, Oct 15, 2006 at 12:37:28PM +1000, Bruce Evans wrote: > ISTR a discussion of fixing this in rc.conf, but nothing seems to have been > committed. The setting is confusing in the kernel too: revision 1.28

Re: cvs commit: src/sys/nfsclient nfs_vnops.c

2006-10-16 Thread Bruce Evans
Hi Chuck, On Sun, 15 Oct 2006, Chuck Lever wrote: On 10/15/06, Bruce Evans <[EMAIL PROTECTED]> wrote: My previous mail more or less explained why rc.conf began setting it to 2 in 1998: It didn't exist before then, so it was initially set to a conservative default of 2. Onl

cvs commit: src/sys/ddb db_main.c

2006-10-16 Thread Bruce Evans
bde 2006-10-16 09:00:31 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ddb db_main.c Log: Unbreak syscons' support for ddb mode by reactivating old fixes (syscons.c 1.331 and 1.372 are reactivated by restoring this part of db_interfa

Re: cvs commit: src/sys/nfsclient nfs_vnops.c

2006-10-16 Thread Bruce Evans
On Mon, 16 Oct 2006, Chuck Lever wrote: On 10/16/06, Bruce Evans <[EMAIL PROTECTED]> wrote: On Sun, 15 Oct 2006, Chuck Lever wrote: [An independent imeout for the access cache isn't useful.] I'll try removing the special support for the access cache timeout in rc.conf fir

cvs commit: src/sys/nfsclient nfs.h

2006-10-17 Thread Bruce Evans
bde 2006-10-17 22:07:08 UTC FreeBSD src repository Modified files: sys/nfsclientnfs.h Log: Fixed some style bugs (especially ones involving long lines and use of __P(())). There are many more. Revision ChangesPath 1.96 +19 -17src/sys/nfsclient/

cvs commit: src/sys/kern kern_intr.c subr_trap.c

2006-10-17 Thread Bruce Evans
bde 2006-10-18 04:48:09 UTC FreeBSD src repository Modified files: sys/kern kern_intr.c subr_trap.c Log: kern_intr.c: - Count (scheduling of) software interrupts (SWIs) as SWIs, not as hardware interrupts. - Don't count (scheduling of) delayed SWIs as inte

cvs commit: src/sys/amd64/amd64 db_trace.c src/sys/i386/i386 db_trace.c

2006-10-20 Thread Bruce Evans
bde 2006-10-20 09:44:21 UTC FreeBSD src repository Modified files: sys/amd64/amd64 db_trace.c sys/i386/i386db_trace.c Log: Don't show debug registers in "show registers". Special registers should be displayed specially, and debug registers are among of th

cvs commit: src/sys/i386/include atomic.h

2006-10-21 Thread Bruce Evans
bde 2006-10-21 11:09:50 UTC FreeBSD src repository Modified files:(Branch: RELENG_4) sys/i386/include atomic.h Log: Remove special support for gcc <= 2.8 so that the next change is more readable. gcc-2.8 was last sighted in FreeBSD-3 and wasn't the system com

cvs commit: src/sys/i386/include atomic.h

2006-10-22 Thread Bruce Evans
bde 2006-10-22 07:00:07 UTC FreeBSD src repository Modified files:(Branch: RELENG_4) sys/i386/include atomic.h Log: MFC: parts of the following, so that atomic.h in RELENG_4 can be compiled by RELENG_6's compiler: 1.26: pass constraints as a parameter since ch

cvs commit: src/contrib/gcc function.c

2006-10-25 Thread Bruce Evans
bde 2006-10-25 07:29:22 UTC FreeBSD src repository Modified files: contrib/gcc function.c Log: Fixed -mprofiler-epilogue. The garbage collector apparently doesn't understand that non-local variables can never be collected, and when it collected the static variab

cvs commit: src/sys/conf kern.pre.mk

2006-10-26 Thread Bruce Evans
bde 2006-10-26 11:53:26 UTC FreeBSD src repository Modified files: sys/conf kern.pre.mk Log: Reduced the ifdef tangle for profiling by moving the unreachable never-working parts for icc to the attic. Fixed some nearby style bugs. Revision ChangesP

cvs commit: src/sys/conf kern.pre.mk

2006-10-26 Thread Bruce Evans
bde 2006-10-26 15:16:43 UTC FreeBSD src repository Modified files: sys/conf kern.pre.mk Log: Fixed high resolution profiling on arches that support it (amd64 and i386). Use -mprofiler-epilogue again, and don't use -finstrument-functions. The former has been f

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

2006-10-27 Thread Bruce Evans
On Fri, 27 Oct 2006, Seigo Tanimura wrote: On Fri, 27 Oct 2006 05:16:37 +0900 (JST), Hiroki Sato <[EMAIL PROTECTED]> said: ... hrs> I have doubt about this change because int memsize->u_int memsize hrs> does not solve the problem directly; memsize never occurs wraparound hrs> actually and an

cvs commit: src/sys/i386/include asmacros.h src/sys/i386/isa prof_machdep.c src/sys/amd64/amd64 prof_machdep.c src/sys/amd64/include asmacros.h

2006-10-27 Thread Bruce Evans
bde 2006-10-27 14:17:50 UTC FreeBSD src repository Modified files: sys/i386/include asmacros.h sys/i386/isa prof_machdep.c sys/amd64/amd64 prof_machdep.c sys/amd64/includeasmacros.h Log: Don't call mexitcount or provide a stub mexitcount to

cvs commit: src/sys/i386/include asmacros.h src/sys/i386/isa prof_machdep.c src/sys/amd64/amd64 prof_machdep.c src/sys/amd64/include asmacros.h

2006-10-27 Thread Bruce Evans
bde 2006-10-28 06:04:29 UTC FreeBSD src repository Modified files: sys/i386/include asmacros.h sys/i386/isa prof_machdep.c sys/amd64/amd64 prof_machdep.c sys/amd64/includeasmacros.h Log: Removed all traces of HIDENAME() in amd64 and i386 ke

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

2006-10-27 Thread Bruce Evans
bde 2006-10-28 06:38:51 UTC FreeBSD src repository Modified files: sys/i386/isa prof_machdep.c sys/amd64/amd64 prof_machdep.c Log: Cleaned up includes. was unused. was only used in the GUPROF case, so the messes to get its i386 prerequisites included

cvs commit: src/sys/i386/include profile.h src/sys/amd64/include profile.h

2006-10-28 Thread Bruce Evans
bde 2006-10-28 07:59:11 UTC FreeBSD src repository Modified files: sys/i386/include profile.h sys/amd64/includeprofile.h Log: In MCOUNT_OVERHEAD(label), actually use the `label' parameter. We were still using the global label named "profil", and this worked ac

cvs commit: src/sys/i386/include profile.h src/sys/amd64/include profile.h

2006-10-28 Thread Bruce Evans
bde 2006-10-28 11:03:03 UTC FreeBSD src repository Modified files: sys/i386/include profile.h sys/amd64/includeprofile.h Log: i386/include/profile.h: Fixed a syntax error for the (!__KERNEL && !__GNUCLIKE_ASM) case in rev.1.36. Apparently, this case has neve

cvs commit: src/sys/amd64/include profile.h

2006-10-28 Thread Bruce Evans
bde 2006-10-28 13:12:07 UTC FreeBSD src repository Modified files: sys/amd64/includeprofile.h Log: In the userland .mcount(): - Don't use a frame pointer. Our callers need a frame pointer, but we could only use one to support things that aren't supported. (These

cvs commit: src/lib/libc/gmon Makefile.inc

2006-10-28 Thread Bruce Evans
bde 2006-10-28 13:34:36 UTC FreeBSD src repository Modified files: lib/libc/gmonMakefile.inc Log: Backed out rev.1.10 (a special case for amd64). The amd64 mcount code never needed any frame pointers for itself. Revision ChangesPath 1.12 +0 -6

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

2006-10-29 Thread Bruce Evans
bde 2006-10-29 09:48:44 UTC FreeBSD src repository Modified files: sys/amd64/amd64 prof_machdep.c sys/i386/isa prof_machdep.c Log: Removed some SMP ifdefs so that using the TSC as a cputime clock is not completely decided at config time. Just don't defaul

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

2006-07-04 Thread Bruce Evans
bde 2006-07-05 02:16:29 UTC FreeBSD src repository Modified files: lib/msun/src e_scalbf.c Log: Backed out rev.1.10. It tried to implement ldexpf() as a weak reference to scalbf(), but ldexpf() cannot be implemented in that way since the types of the second param

cvs commit: src/sys/ia64/include ieeefp.h

2006-07-04 Thread Bruce Evans
bde 2006-07-05 06:10:21 UTC FreeBSD src repository Modified files: sys/ia64/include ieeefp.h Log: Fixed FP_R*. fp{get_set}round() apparently never worked on ia64, since the alpha values were used and are quite different. Fixed some style bugs by copying from the i

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

2006-07-05 Thread Bruce Evans
bde 2006-07-05 17:34:57 UTC FreeBSD src repository Modified files: lib/msun/src e_scalbf.c Log: Forced commit to fix the log message for the previous commit: the C files for the scalb() family are only not used for i386, due to only i386 having bogus optimized asm

cvs commit: src/lib/msun/i387 Makefile.inc e_scalb.S e_scalbf.S

2006-07-05 Thread Bruce Evans
bde 2006-07-05 20:06:42 UTC FreeBSD src repository Modified files: lib/msun/i387Makefile.inc Removed files: lib/msun/i387e_scalb.S e_scalbf.S Log: Removed the optimized asm versions of scalb() and scalbf(). These functions are only for compatibility

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

2006-07-05 Thread Bruce Evans
bde 2006-07-05 22:59:33 UTC FreeBSD src repository Modified files: lib/msun/src s_tanh.c Log: Fixed tanh(-0.0) on ia64 and optimizeed tanh(x) for 2**-55 <= |x| < 2**-28 as a side effect, by merging with the float precision version of tanh() and the double precisio

cvs commit: src/lib/msun/src e_log.c e_logf.c

2006-07-06 Thread Bruce Evans
bde 2006-07-07 04:33:08 UTC FreeBSD src repository Modified files: lib/msun/src e_log.c e_logf.c Log: Fixed the threshold for using the simple Taylor approximation. In e_log.c, there was just a off-by-1 (1 ulp) error in the comment about the threshold. The pre

Re: cvs commit: src/sys/net if.c if_atmsubr.c if_stf.c if_tun.c src/sys/netinet if_ether.c ip_divert.c ip_fw2.c src/sys/netinet6 in6.c in6_var.h src/sys/nfsclient bootp_subr.c nfs_diskless.c

2006-07-18 Thread Bruce Evans
Long ago, On Sat, 1 Jul 2006, Giorgos Keramidas wrote: On 2006-06-29 19:22, Yar Tikhiy <[EMAIL PROTECTED]> wrote: yar 2006-06-29 19:22:05 UTC FreeBSD src repository Modified files: sys/net if.c if_atmsubr.c if_stf.c if_tun.c sys/netinet if_ether.c ip_

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

2006-07-31 Thread Bruce Evans
On Tue, 25 Jul 2006, Jung-uk Kim wrote: On Tuesday 25 July 2006 03:01 pm, David Malone wrote: It sounds to me like a reasonable thing to do would be to pass up a raw version of the timestamp (as returned by the hardware). We'd also pass up the regular microtime() timestamp. You can then do any

Re: cvs commit: src/usr.sbin/kldxref kldxref.c

2006-08-06 Thread Bruce Evans
On Sun, 6 Aug 2006, Dag-Erling [iso-8859-1] Sm?rgrav wrote: Marcel Moolenaar <[EMAIL PROTECTED]> writes: Log: Fix (static) buffer overflow bug. The dest buffer is of size MAXPATHLEN, so dest[MAXPATHLEN] falls outside the buffer. This bug corrupted arenas[0] defined in libc's malloc.c o

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

2006-08-07 Thread Bruce Evans
On Fri, 4 Aug 2006, John Baldwin wrote: On Friday 04 August 2006 16:01, Marcel Moolenaar wrote: The point is that kdb_backtrace() is there if you want a backtrace and you call it based on whatever option that makes sense at the call-site or even unconditionally if that's the right thing. Whet

Re: cvs commit: src/usr.sbin/kldxref kldxref.c

2006-08-09 Thread Bruce Evans
On Tue, 8 Aug 2006, Yar Tikhiy wrote: On Mon, Aug 07, 2006 at 01:59:30PM +1000, Bruce Evans wrote: On Sun, 6 Aug 2006, Dag-Erling [iso-8859-1] Sm?rgrav wrote: MAXPATHLEN should be spelled PATH_MAX. Actually, MAXPATHLEN is better since it is honestly unportable. It works ... Just looked

Re: cvs commit: src/sys/conf kern.post.mk kmod.mk src/sys/modules/if_ef Makefile src/sys/modules/if_ppp Makefile src/sys/modules/netgraph/mppc Makefile src/sys/modules/sound/sound

2006-08-14 Thread Bruce Evans
On Mon, 14 Aug 2006, Dag-Erling Smorgrav wrote: des 2006-08-14 13:28:53 UTC FreeBSD src repository Modified files: sys/conf kern.post.mk kmod.mk sys/modules/if_efMakefile sys/modules/if_ppp Makefile sys/modules/netgraph/mppc Makefile sys/modules/sound

Re: cvs commit: src/sys/conf kern.post.mk kmod.mk src/sys/modules/if_ef Makefile src/sys/modules/if_ppp Makefile src/sys/modules/netgraph/mppc Makefile src/sys/modules/sound/sound Makefile

2006-08-16 Thread Bruce Evans
On Tue, 15 Aug 2006, Ruslan Ermilov wrote: On Tue, Aug 15, 2006 at 09:40:36AM +1000, Bruce Evans wrote: On Mon, 14 Aug 2006, Dag-Erling Smorgrav wrote: Revision ChangesPath 1.96 +1 -1 src/sys/conf/kern.post.mk 1.210 +2 -2 src/sys/conf/kmod.mk 1.14 +4 -4 src

Re: cvs commit: src/sys/amd64/amd64 support.S

2006-08-16 Thread Bruce Evans
On Tue, 15 Aug 2006, John Baldwin wrote: On Tuesday 15 August 2006 09:55, Kostik Belousov wrote: So, it seems that xorq %rax, %rax and xorl %eax, %eax will make the same results, but in the different ways. And xorq requires REX prefix, that shall make the decoding longer. Ok, thanks! David,

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

2008-05-29 Thread Bruce Evans
On Thu, 29 May 2008, Ed Schouten wrote: * Robert Watson <[EMAIL PROTECTED]> wrote: This sounds like a good candidate for a regression test -- do we have a dup/dup2/F_DUPFD/F_DUP2FD test? If not, perhaps we should, in light of the opportunity for further bugs and regressions. It looks like we

Re: cvs commit: src/sys/sparc64/include in_cksum.h

2008-06-27 Thread Bruce Evans
On Fri, 27 Jun 2008, Christoph Mallon wrote: Marius Strobl wrote: marius 2008-06-25 21:04:59 UTC FreeBSD src repository Modified files: sys/sparc64/include in_cksum.h Log: SVN rev 180011 on 2008-06-25 21:04:59Z by marius Use "__asm __volatile" rather than "__asm" for ins

Re: cvs commit: src/sys/sparc64/include in_cksum.h

2008-06-27 Thread Bruce Evans
On Sat, 28 Jun 2008, Marius Strobl wrote: On Fri, Jun 27, 2008 at 09:58:31PM +0200, Christoph Mallon wrote: This approach seems wrong to me and I think it works only by chance. The I wasn't aware that the clobber list allows to explicitly specify the condition codes, thanks for the hint. Tho

Re: cvs commit: src/sys/sparc64/include in_cksum.h

2008-06-27 Thread Bruce Evans
On Sat, 28 Jun 2008, Christoph Mallon wrote: I still think, using __volatile only works by accident. volatile for an assembler block mostly means "this asm statement has an effect, even though the register specification looks otherwise, so do not optimise this away (i.e. no CSE, do not remove

Re: cvs commit: src/lib/libc/i386/gen _setjmp.S setjmp.S

2008-06-28 Thread Bruce Evans
On Sat, 28 Jun 2008, David Schultz wrote: On Sat, Jun 28, 2008, David Schultz wrote: das 2008-06-28 17:58:06 UTC FreeBSD src repository Modified files: lib/libc/i386/gen_setjmp.S setjmp.S Log: SVN rev 180081 on 2008-06-28 17:58:06Z by das We should also save and res

Re: cvs commit: src/sys/sparc64/include in_cksum.h

2008-06-28 Thread Bruce Evans
On Sat, 28 Jun 2008, Christoph Mallon wrote: Bruce Evans wrote: Does sparc64 do anything good with this? Later it says that this is [cc clobber in asm statements] irrelevant for the type type of bug in in_cksum.* (expecting cc to be preserved across

Re: cvs commit: src/sys/sparc64/include in_cksum.h

2008-06-28 Thread Bruce Evans
On Sat, 28 Jun 2008, Marius Strobl wrote: On Sat, Jun 28, 2008 at 12:09:13PM +1000, Bruce Evans wrote: On Sat, 28 Jun 2008, Marius Strobl wrote: I think it still only works by chance. [volatile] Besides I don't think using "__volatile" for this is that wrong,

Re: cvs commit: src/lib/libc/i386/gen _setjmp.S setjmp.S

2008-06-28 Thread Bruce Evans
On Sat, 28 Jun 2008, David Schultz wrote: On Sun, Jun 29, 2008, Bruce Evans wrote: On Sat, 28 Jun 2008, David Schultz wrote: Don't clobber the FPU exception flags in longjmp. C99 requires them to remain unchanged. ...but got cut off somehow. This is wrong. It breaks longjmp() fro

Re: cvs commit: src/sys/sparc64/include in_cksum.h

2008-06-29 Thread Bruce Evans
On Sun, 29 Jun 2008, Christoph Mallon wrote: Bruce Evans wrote: I have to disagree. Where does the GCC documentation state, that "cc" has no effect on x86? It is the other way round: The compiler assumes, the Well, in gcc-1.40, gcc.info says nothing about "cc", ap

Re: cvs commit: src/sys/sparc64/include in_cksum.h

2008-06-29 Thread Bruce Evans
On Sun, 29 Jun 2008, Christoph Mallon wrote: Bruce Evans wrote: Right. Though I've never seen unnecessary's __volatiles significantly affecting i386 code. This is because the code in the asms can't be removed completely, and can't be moved much either. With out of order

Re[2]: cvs commit: src/share/man/man9 style.9

2008-07-10 Thread Bruce Evans
On Thu, 10 Jul 2008, Daniel Gerzo wrote: Hello guys, Wednesday, July 9, 2008, 8:08:02 PM, has been written: -Do not declare functions inside other functions; ANSI C says that -such declarations have file scope regardless of the nesting of the -declaration. -Hiding file declarations in what ap

Re: cvs commit: src/share/man/man9 style.9

2008-07-10 Thread Bruce Evans
On Thu, 10 Jul 2008, Daniel Gerzo wrote: danger 2008-07-10 11:24:41 UTC FreeBSD src repository Modified files: share/man/man9 style.9 Log: SVN rev 180424 on 2008-07-10 11:24:41Z by danger Back-out my previous change. See the thread at http://lists.freebsd.org/pipermail/cvs

Re: cvs commit: src/sys/netipx ipx_input.c ipx_usrreq.c

2008-07-22 Thread Bruce Evans
On Mon, 21 Jul 2008, John Baldwin wrote: On Sunday 20 July 2008 11:25:20 am Tom Rhodes wrote: trhodes 2008-07-20 15:25:20 UTC FreeBSD src repository Modified files: sys/netipx ipx_input.c ipx_usrreq.c Log: SVN rev 180630 on 2008-07-20 15:25:20Z by trhodes Document

Re: cvs commit: src/etc remote

2008-07-22 Thread Bruce Evans
On Mon, 21 Jul 2008, John Baldwin wrote: On Monday 21 July 2008 05:22:15 pm Marcel Moolenaar wrote: On Jul 21, 2008, at 8:07 AM, John Baldwin wrote: On Saturday 19 July 2008 03:08:22 pm Marcel Moolenaar wrote: marcel 2008-07-19 19:08:22 UTC FreeBSD src repository Modified files:

cvs commit: src/sys/fs/msdosfs direntry.h msdosfs_conv.c msdosfs_lookup.c msdosfs_vnops.c

2007-08-31 Thread Bruce Evans
bde 2007-08-31 22:29:55 UTC FreeBSD src repository Modified files: sys/fs/msdosfs direntry.h msdosfs_conv.c msdosfs_lookup.c msdosfs_vnops.c Log: Fix races in msdosfs_lookup() and msdosfs_readdir(). These functions can easily block in bread(

Re: cvs commit: src/sys/i386/i386 genassym.c src/sys/amd64/amd64 genassym.c

2007-09-18 Thread Bruce Evans
On Mon, 17 Sep 2007, Peter Wemm wrote: peter 2007-09-17 21:55:28 UTC FreeBSD src repository Modified files: sys/i386/i386genassym.c sys/amd64/amd64 genassym.c Log: Fix an undefined symbol that as/ld neglected to flag as a problem. It was used in assembler code in

Re: cvs commit: src/lib/libc/stdlib getenv.c

2007-09-22 Thread Bruce Evans
On Sat, 22 Sep 2007, [utf-8] Dag-Erling Sm??rgrav wrote: Sean Farley <[EMAIL PROTECTED]> writes: Log: The precision for a string argument in a call to warnx() needs to be cast to an int to remove the warning from using a size_t variable on 64-bit platforms. s/to remove the warning/to

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

2007-09-23 Thread Bruce Evans
bde 2007-09-23 14:49:32 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_fat.c Log: Remove some of the pessimizations involving writing the fsi sector. All active fields in fsi are advisory/optional, so we shouldn't do extra work to make them valid

Re: cvs commit: src/lib/libc/stdlib getenv.c

2007-09-23 Thread Bruce Evans
On Sun, 23 Sep 2007, [utf-8] Dag-Erling Sm??rgrav wrote: Bruce Evans <[EMAIL PROTECTED]> writes: On Sat, 22 Sep 2007, [utf-8] Dag-Erling Sm??rgrav wrote: s/to remove the warning/to actually work/ Please be precise :-). s/to remove the warning ... on 64-bit platforms/to avoid und

<    1   2   3   4   5   6   >