CVS commit: src/sys/netinet

2015-08-12 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed Aug 12 07:13:14 UTC 2015

Modified Files:
src/sys/netinet: if_arp.c

Log Message:
Move insane goto label


To generate a diff of this commit:
cvs rdiff -u -r1.171 -r1.172 src/sys/netinet/if_arp.c

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



CVS commit: src/sys/arch

2015-08-12 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Wed Aug 12 07:53:58 UTC 2015

Modified Files:
src/sys/arch/acorn26/conf: GENERIC
src/sys/arch/acorn32/conf: EB7500ATX GENERIC INSTALL LOWMEM_WSCONS
src/sys/arch/amd64/conf: XEN3_DOMU
src/sys/arch/amigappc/conf: GENERIC NULL
src/sys/arch/arc/conf: ARCTIC MIMORI RPC44
src/sys/arch/cobalt/conf: INSTALL
src/sys/arch/evbarm/conf: ARMADAXP ARMADILLO9 BEAGLEBOARD BEAGLEBOARDXM
BEAGLEBONE HDL_G IGEPV2 INTEGRATOR IXDP425 MARVELL_NAS MINI2440
MV2120 N900 NITROGEN6X OMAP5EVM OPENBLOCKS_A6 OPENBLOCKS_AX3
SMDK2410 SMDK2800 ZAO425
src/sys/arch/evbarm64/conf: A64EMUL
src/sys/arch/evbmips/conf: CI20
src/sys/arch/ews4800mips/conf: GENERIC
src/sys/arch/hpcarm/conf: JORNADA720 JORNADA820 NETBOOKPRO WZERO3
src/sys/arch/i386/conf: XEN3_DOMU
src/sys/arch/mmeye/conf: GENERIC MMEYE_WLF
src/sys/arch/sun2/conf: FOURMEG VME
src/sys/arch/sun3/conf: GENERIC GENERIC3X
src/sys/arch/vax/conf: INSTALL
src/sys/arch/x68k/conf: INSTALL

Log Message:
Remove KMEMSTATS.


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/arch/acorn26/conf/GENERIC
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/acorn32/conf/EB7500ATX
cvs rdiff -u -r1.116 -r1.117 src/sys/arch/acorn32/conf/GENERIC
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/acorn32/conf/INSTALL
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/acorn32/conf/LOWMEM_WSCONS
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/amd64/conf/XEN3_DOMU
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/amigappc/conf/GENERIC
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/amigappc/conf/NULL
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/arc/conf/ARCTIC
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/arc/conf/MIMORI
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/arc/conf/RPC44
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/cobalt/conf/INSTALL
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/evbarm/conf/ARMADAXP \
src/sys/arch/evbarm/conf/OPENBLOCKS_AX3
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/evbarm/conf/ARMADILLO9
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/evbarm/conf/BEAGLEBOARD
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/evbarm/conf/BEAGLEBOARDXM
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/evbarm/conf/BEAGLEBONE
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/evbarm/conf/HDL_G
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/evbarm/conf/IGEPV2
cvs rdiff -u -r1.79 -r1.80 src/sys/arch/evbarm/conf/INTEGRATOR
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/evbarm/conf/IXDP425
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/evbarm/conf/MARVELL_NAS
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/evbarm/conf/MINI2440
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/evbarm/conf/MV2120
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/evbarm/conf/N900
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbarm/conf/NITROGEN6X
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/evbarm/conf/OMAP5EVM
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/evbarm/conf/OPENBLOCKS_A6
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/evbarm/conf/SMDK2410 \
src/sys/arch/evbarm/conf/ZAO425
cvs rdiff -u -r1.56 -r1.57 src/sys/arch/evbarm/conf/SMDK2800
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm64/conf/A64EMUL
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/evbmips/conf/CI20
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/ews4800mips/conf/GENERIC
cvs rdiff -u -r1.96 -r1.97 src/sys/arch/hpcarm/conf/JORNADA720
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/hpcarm/conf/JORNADA820
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/hpcarm/conf/NETBOOKPRO
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/hpcarm/conf/WZERO3
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/i386/conf/XEN3_DOMU
cvs rdiff -u -r1.120 -r1.121 src/sys/arch/mmeye/conf/GENERIC
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/mmeye/conf/MMEYE_WLF
cvs rdiff -u -r1.58 -r1.59 src/sys/arch/sun2/conf/FOURMEG
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/sun2/conf/VME
cvs rdiff -u -r1.171 -r1.172 src/sys/arch/sun3/conf/GENERIC
cvs rdiff -u -r1.125 -r1.126 src/sys/arch/sun3/conf/GENERIC3X
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/vax/conf/INSTALL
cvs rdiff -u -r1.107 -r1.108 src/sys/arch/x68k/conf/INSTALL

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



CVS commit: src/sys/ufs/ffs

2015-08-12 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Aug 12 14:52:35 UTC 2015

Modified Files:
src/sys/ufs/ffs: ffs_alloc.c

Log Message:
Need wapbl transaction around ffs_blkfree_cg.  Fixes wapbl+discard.


To generate a diff of this commit:
cvs rdiff -u -r1.150 -r1.151 src/sys/ufs/ffs/ffs_alloc.c

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



CVS commit: src/sys/arch/atari/stand/loadkmap

2015-08-12 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Aug 12 17:53:03 UTC 2015

Modified Files:
src/sys/arch/atari/stand/loadkmap: loadkmap.c

Log Message:
Make local functions static.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/atari/stand/loadkmap/loadkmap.c

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



CVS commit: src/sys/arch/atari/stand/installboot

2015-08-12 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Aug 12 17:59:51 UTC 2015

Modified Files:
src/sys/arch/atari/stand/installboot: Makefile installboot.c

Log Message:
Try to shrink binary size a bit.

- omit usage of options in SMALLPROG case
- use bool instead of int where appropriate
- rely on zero-initialized-bss


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/atari/stand/installboot/Makefile
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/atari/stand/installboot/installboot.c

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



CVS commit: src/distrib/atari/floppies/common

2015-08-12 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Aug 12 18:08:02 UTC 2015

Modified Files:
src/distrib/atari/floppies/common: Makefile.images

Log Message:
Specify -DNDEBUG to remove assert(3) macro. Shaves instbin ~40 bytes.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/distrib/atari/floppies/common/Makefile.images

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



CVS commit: src/usr.sbin/sysinst/arch/atari

2015-08-12 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Aug 12 18:20:02 UTC 2015

Modified Files:
src/usr.sbin/sysinst/arch/atari: Makefile

Log Message:
Drop ancient AOUT2ELF option.  Saves ~280 bytes.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/arch/atari/Makefile

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



CVS commit: src/usr.sbin/sysinst/arch/atari

2015-08-12 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Aug 12 18:22:22 UTC 2015

Removed Files:
src/usr.sbin/sysinst/arch/atari: menus.md.es msg.md.es

Log Message:
Remove unused es message files.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/usr.sbin/sysinst/arch/atari/menus.md.es
cvs rdiff -u -r1.2 -r0 src/usr.sbin/sysinst/arch/atari/msg.md.es

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



CVS commit: src

2015-08-12 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Aug 12 18:23:16 UTC 2015

Modified Files:
src/libexec/lfs_cleanerd: cleaner.h coalesce.c lfs_cleanerd.c
src/sys/ufs/lfs: lfs.h lfs_extern.h lfs_syscalls.c

Log Message:
Fix assorted 64->32 truncations related to BLOCK_INFO.

Also make note of a cleaner limitation: it seems that when it goes to
coalesce discontiguous files, it mallocs an array with one BLOCK_INFO
for every block in the file. Therefore, with 64-bit LFS, on a 32-bit
platform it will be possible to have files large enough to overflow
the cleaner's address space. Currently these will be skipped and cause
warnings via syslog.

At some point someone should rewrite the logic to coalesce files to
use chunks of some reasonable size, as discontinuity between such
chunks is immaterial and mallocing this much space is silly and
fragile. Also, the kernel only accepts up to 65536 blocks at a time
for bmapv and markv, so processing more than this at once probably
isn't useful and may not even work currently. I don't want to change
this around just now as it's not entirely trivial.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/libexec/lfs_cleanerd/cleaner.h
cvs rdiff -u -r1.28 -r1.29 src/libexec/lfs_cleanerd/coalesce.c
cvs rdiff -u -r1.44 -r1.45 src/libexec/lfs_cleanerd/lfs_cleanerd.c
cvs rdiff -u -r1.172 -r1.173 src/sys/ufs/lfs/lfs.h
cvs rdiff -u -r1.107 -r1.108 src/sys/ufs/lfs/lfs_extern.h
cvs rdiff -u -r1.164 -r1.165 src/sys/ufs/lfs/lfs_syscalls.c

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



CVS commit: src/sys/ufs/lfs

2015-08-12 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Aug 12 18:23:47 UTC 2015

Modified Files:
src/sys/ufs/lfs: lfs_extern.h lfs_syscalls.c lfs_vnops.c

Log Message:
Move the security checks for lfs_bmapv/lfs_markv into those functions.
(instead of the system call entry points)

Avoids duplication.

While touching these, pass the lwp around instead of the proc -- the
latter was there for no other reason than because once upon a time
struct proc was the first argument of all syscalls.

(For that matter, why not just use curlwp instead of passing it around
all over the place? The cost of passing it to every syscall probably
exceeds the cost of loading it from curcpu, even on machines where
it's not just kept in a register all the time.)


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/sys/ufs/lfs/lfs_extern.h
cvs rdiff -u -r1.165 -r1.166 src/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -u -r1.281 -r1.282 src/sys/ufs/lfs/lfs_vnops.c

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



CVS commit: src/sys/ufs/lfs

2015-08-12 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Aug 12 18:24:14 UTC 2015

Modified Files:
src/sys/ufs/lfs: lfs.h lfs_kernel.h lfs_vnops.c

Log Message:
Widen several of the fields of BLOCK_INFO to 64 bits.

Keep the old BLOCK_INFO as BLOCK_INFO_70, and version the fcntls that
use it.

Note that BLOCK_INFO_70 has 64-bit padding issues so that it's
different on 32-bit and 64-bit machines. This has been fixed. However,
BLOCK_INFO also contains a pointer, so compat32 stuff for 32-on-64 is
still needed and doesn't currently exist.


To generate a diff of this commit:
cvs rdiff -u -r1.173 -r1.174 src/sys/ufs/lfs/lfs.h
cvs rdiff -u -r1.1 -r1.2 src/sys/ufs/lfs/lfs_kernel.h
cvs rdiff -u -r1.282 -r1.283 src/sys/ufs/lfs/lfs_vnops.c

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



CVS commit: src/sys/ufs/lfs

2015-08-12 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Aug 12 18:23:59 UTC 2015

Modified Files:
src/sys/ufs/lfs: lfs_vfsops.c

Log Message:
Fix botched syscall_package. HI CHRISTOS


To generate a diff of this commit:
cvs rdiff -u -r1.334 -r1.335 src/sys/ufs/lfs/lfs_vfsops.c

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



CVS commit: src

2015-08-12 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Aug 12 18:25:04 UTC 2015

Modified Files:
src/libexec/lfs_cleanerd: cleaner.h coalesce.c lfs_cleanerd.c
src/sbin/fsck_lfs: pass0.c segwrite.c
src/sbin/newfs_lfs: make_lfs.c
src/sys/ufs/lfs: lfs.h lfs_accessors.h lfs_segment.c lfs_subr.c
lfs_syscalls.c lfs_vfsops.c lfs_vnops.c
src/usr.sbin/dumplfs: dumplfs.c

Log Message:
Make 32-bit and 64-bit versions of CLEANERINFO.

XXX: while this is written to disk, it seems like much of it would
XXX: be better set up as a commpage shared with the cleaner.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/libexec/lfs_cleanerd/cleaner.h
cvs rdiff -u -r1.29 -r1.30 src/libexec/lfs_cleanerd/coalesce.c
cvs rdiff -u -r1.45 -r1.46 src/libexec/lfs_cleanerd/lfs_cleanerd.c
cvs rdiff -u -r1.37 -r1.38 src/sbin/fsck_lfs/pass0.c
cvs rdiff -u -r1.36 -r1.37 src/sbin/fsck_lfs/segwrite.c
cvs rdiff -u -r1.40 -r1.41 src/sbin/newfs_lfs/make_lfs.c
cvs rdiff -u -r1.174 -r1.175 src/sys/ufs/lfs/lfs.h
cvs rdiff -u -r1.8 -r1.9 src/sys/ufs/lfs/lfs_accessors.h
cvs rdiff -u -r1.251 -r1.252 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.84 -r1.85 src/sys/ufs/lfs/lfs_subr.c
cvs rdiff -u -r1.166 -r1.167 src/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -u -r1.335 -r1.336 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.283 -r1.284 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -u -r1.49 -r1.50 src/usr.sbin/dumplfs/dumplfs.c

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



CVS commit: src

2015-08-12 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Aug 12 18:25:52 UTC 2015

Modified Files:
src/libexec/lfs_cleanerd: coalesce.c lfs_cleanerd.c
src/sbin/dump_lfs: lfs_inode.c
src/sbin/fsck_lfs: inode.c lfs.c pass0.c pass1.c pass6.c segwrite.c
src/sbin/newfs_lfs: make_lfs.c
src/sys/lib/libsa: lfsv1.c lfsv2.c ufs.c
src/sys/ufs/lfs: lfs.h lfs_accessors.h lfs_alloc.c lfs_itimes.c
lfs_rfw.c lfs_segment.c lfs_syscalls.c lfs_vfsops.c
src/usr.sbin/dumplfs: dumplfs.c

Log Message:
Add IFILE32 and IFILE64 structures for the on-disk ifile entries.
Add and use accessors. There are also a bunch of places that cast and
I hope I've found them all...


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/libexec/lfs_cleanerd/coalesce.c
cvs rdiff -u -r1.46 -r1.47 src/libexec/lfs_cleanerd/lfs_cleanerd.c
cvs rdiff -u -r1.23 -r1.24 src/sbin/dump_lfs/lfs_inode.c
cvs rdiff -u -r1.57 -r1.58 src/sbin/fsck_lfs/inode.c
cvs rdiff -u -r1.52 -r1.53 src/sbin/fsck_lfs/lfs.c
cvs rdiff -u -r1.38 -r1.39 src/sbin/fsck_lfs/pass0.c \
src/sbin/fsck_lfs/pass6.c
cvs rdiff -u -r1.40 -r1.41 src/sbin/fsck_lfs/pass1.c
cvs rdiff -u -r1.37 -r1.38 src/sbin/fsck_lfs/segwrite.c
cvs rdiff -u -r1.41 -r1.42 src/sbin/newfs_lfs/make_lfs.c
cvs rdiff -u -r1.12 -r1.13 src/sys/lib/libsa/lfsv1.c \
src/sys/lib/libsa/lfsv2.c
cvs rdiff -u -r1.70 -r1.71 src/sys/lib/libsa/ufs.c
cvs rdiff -u -r1.175 -r1.176 src/sys/ufs/lfs/lfs.h
cvs rdiff -u -r1.9 -r1.10 src/sys/ufs/lfs/lfs_accessors.h
cvs rdiff -u -r1.125 -r1.126 src/sys/ufs/lfs/lfs_alloc.c
cvs rdiff -u -r1.17 -r1.18 src/sys/ufs/lfs/lfs_itimes.c
cvs rdiff -u -r1.25 -r1.26 src/sys/ufs/lfs/lfs_rfw.c
cvs rdiff -u -r1.252 -r1.253 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.167 -r1.168 src/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -u -r1.336 -r1.337 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.50 -r1.51 src/usr.sbin/dumplfs/dumplfs.c

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



CVS commit: src

2015-08-12 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Aug 12 18:26:27 UTC 2015

Modified Files:
src/libexec/lfs_cleanerd: lfs_cleanerd.c
src/sbin/fsck_lfs: lfs.c lfs_user.h pass6.c segwrite.c setup.c
src/sys/ufs/lfs: lfs.h lfs_accessors.h lfs_pages.c lfs_rfw.c
lfs_segment.c lfs_vfsops.c lfs_vnops.c
src/usr.sbin/dumplfs: dumplfs.c

Log Message:
Make 32-bit and 64-bit versions of SEGSUM.
Also fix some of the FINFO handling as it's closely entangled.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/libexec/lfs_cleanerd/lfs_cleanerd.c
cvs rdiff -u -r1.53 -r1.54 src/sbin/fsck_lfs/lfs.c
cvs rdiff -u -r1.7 -r1.8 src/sbin/fsck_lfs/lfs_user.h
cvs rdiff -u -r1.39 -r1.40 src/sbin/fsck_lfs/pass6.c
cvs rdiff -u -r1.38 -r1.39 src/sbin/fsck_lfs/segwrite.c
cvs rdiff -u -r1.52 -r1.53 src/sbin/fsck_lfs/setup.c
cvs rdiff -u -r1.176 -r1.177 src/sys/ufs/lfs/lfs.h
cvs rdiff -u -r1.10 -r1.11 src/sys/ufs/lfs/lfs_accessors.h
cvs rdiff -u -r1.6 -r1.7 src/sys/ufs/lfs/lfs_pages.c
cvs rdiff -u -r1.26 -r1.27 src/sys/ufs/lfs/lfs_rfw.c
cvs rdiff -u -r1.253 -r1.254 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.337 -r1.338 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.284 -r1.285 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -u -r1.51 -r1.52 src/usr.sbin/dumplfs/dumplfs.c

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



CVS commit: src/sys/ufs/lfs

2015-08-12 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Aug 12 18:27:18 UTC 2015

Modified Files:
src/sys/ufs/lfs: lfs.h

Log Message:
Make the inode number in the 64-bit dinode 64 bits wide, like the
other lfs64 on-disk inode numbers; I've been doing that since this is
a new format and we may as well take the opportunity. This does assume
that more than 4 billion files on a single volume becomes desirable;
but for an average file size of 10K all that takes is a 40 TB volume,
and it's not that hard to make one of those these days if you want to
badly enough.


To generate a diff of this commit:
cvs rdiff -u -r1.178 -r1.179 src/sys/ufs/lfs/lfs.h

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



CVS commit: src

2015-08-12 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Aug 12 18:28:01 UTC 2015

Modified Files:
src/libexec/lfs_cleanerd: coalesce.c lfs_cleanerd.c
src/sbin/dump: dump.h
src/sbin/dump_lfs: lfs_inode.c
src/sbin/fsck_lfs: dir.c extern.h fsck.h fsck_vars.h inode.c lfs.c
lfs_user.h pass1.c pass2.c pass4.c pass6.c segwrite.c setup.c
utilities.c vars.c
src/sbin/newfs_lfs: make_lfs.c
src/sys/lib/libsa: lfsv1.c lfsv2.c ufs.c
src/sys/ufs/lfs: lfs.h lfs_accessors.h lfs_alloc.c lfs_bio.c
lfs_debug.c lfs_extern.h lfs_inode.c lfs_inode.h lfs_rfw.c
lfs_segment.c lfs_syscalls.c lfs_vfsops.c lfs_vnops.c ulfs_inode.h
src/usr.sbin/dumplfs: dumplfs.c

Log Message:
Hack up dinode usage to be 64 vs. 32 as needed. Part 1.

(This part changes the native lfs code; the ufs-derived code already
has 64 vs. 32 logic, but as aspects of it are unsafe, and don't
entirely interoperate cleanly with the lfs 64/32 stuff, pass 2 will be
rehashing that.)


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/libexec/lfs_cleanerd/coalesce.c
cvs rdiff -u -r1.49 -r1.50 src/libexec/lfs_cleanerd/lfs_cleanerd.c
cvs rdiff -u -r1.52 -r1.53 src/sbin/dump/dump.h
cvs rdiff -u -r1.24 -r1.25 src/sbin/dump_lfs/lfs_inode.c
cvs rdiff -u -r1.35 -r1.36 src/sbin/fsck_lfs/dir.c
cvs rdiff -u -r1.11 -r1.12 src/sbin/fsck_lfs/extern.h
cvs rdiff -u -r1.20 -r1.21 src/sbin/fsck_lfs/fsck.h
cvs rdiff -u -r1.13 -r1.14 src/sbin/fsck_lfs/fsck_vars.h
cvs rdiff -u -r1.58 -r1.59 src/sbin/fsck_lfs/inode.c
cvs rdiff -u -r1.55 -r1.56 src/sbin/fsck_lfs/lfs.c
cvs rdiff -u -r1.9 -r1.10 src/sbin/fsck_lfs/lfs_user.h
cvs rdiff -u -r1.41 -r1.42 src/sbin/fsck_lfs/pass1.c \
src/sbin/fsck_lfs/pass6.c
cvs rdiff -u -r1.25 -r1.26 src/sbin/fsck_lfs/pass2.c \
src/sbin/fsck_lfs/pass4.c
cvs rdiff -u -r1.40 -r1.41 src/sbin/fsck_lfs/segwrite.c \
src/sbin/fsck_lfs/utilities.c
cvs rdiff -u -r1.54 -r1.55 src/sbin/fsck_lfs/setup.c
cvs rdiff -u -r1.17 -r1.18 src/sbin/fsck_lfs/vars.c
cvs rdiff -u -r1.42 -r1.43 src/sbin/newfs_lfs/make_lfs.c
cvs rdiff -u -r1.13 -r1.14 src/sys/lib/libsa/lfsv1.c \
src/sys/lib/libsa/lfsv2.c
cvs rdiff -u -r1.71 -r1.72 src/sys/lib/libsa/ufs.c
cvs rdiff -u -r1.179 -r1.180 src/sys/ufs/lfs/lfs.h
cvs rdiff -u -r1.12 -r1.13 src/sys/ufs/lfs/lfs_accessors.h
cvs rdiff -u -r1.126 -r1.127 src/sys/ufs/lfs/lfs_alloc.c
cvs rdiff -u -r1.133 -r1.134 src/sys/ufs/lfs/lfs_bio.c
cvs rdiff -u -r1.51 -r1.52 src/sys/ufs/lfs/lfs_debug.c
cvs rdiff -u -r1.109 -r1.110 src/sys/ufs/lfs/lfs_extern.h
cvs rdiff -u -r1.143 -r1.144 src/sys/ufs/lfs/lfs_inode.c
cvs rdiff -u -r1.8 -r1.9 src/sys/ufs/lfs/lfs_inode.h
cvs rdiff -u -r1.28 -r1.29 src/sys/ufs/lfs/lfs_rfw.c
cvs rdiff -u -r1.255 -r1.256 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.168 -r1.169 src/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -u -r1.339 -r1.340 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.285 -r1.286 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -u -r1.14 -r1.15 src/sys/ufs/lfs/ulfs_inode.h
cvs rdiff -u -r1.53 -r1.54 src/usr.sbin/dumplfs/dumplfs.c

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



CVS commit: src

2015-08-12 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Aug 12 18:27:01 UTC 2015

Modified Files:
src/libexec/lfs_cleanerd: lfs_cleanerd.c
src/sbin/fsck_lfs: lfs.c lfs_user.h pass6.c segwrite.c segwrite.h
setup.c
src/sys/ufs/lfs: lfs.h lfs_accessors.h lfs_debug.c lfs_rfw.c
lfs_segment.c lfs_vfsops.c
src/usr.sbin/dumplfs: dumplfs.c

Log Message:
Provide 32-bit and 64-bit versions of FINFO.

This also entailed sorting out part of struct segment, as that
contains a pointer into the current FINFO data.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/libexec/lfs_cleanerd/lfs_cleanerd.c
cvs rdiff -u -r1.54 -r1.55 src/sbin/fsck_lfs/lfs.c
cvs rdiff -u -r1.8 -r1.9 src/sbin/fsck_lfs/lfs_user.h
cvs rdiff -u -r1.40 -r1.41 src/sbin/fsck_lfs/pass6.c
cvs rdiff -u -r1.39 -r1.40 src/sbin/fsck_lfs/segwrite.c
cvs rdiff -u -r1.5 -r1.6 src/sbin/fsck_lfs/segwrite.h
cvs rdiff -u -r1.53 -r1.54 src/sbin/fsck_lfs/setup.c
cvs rdiff -u -r1.177 -r1.178 src/sys/ufs/lfs/lfs.h
cvs rdiff -u -r1.11 -r1.12 src/sys/ufs/lfs/lfs_accessors.h
cvs rdiff -u -r1.50 -r1.51 src/sys/ufs/lfs/lfs_debug.c
cvs rdiff -u -r1.27 -r1.28 src/sys/ufs/lfs/lfs_rfw.c
cvs rdiff -u -r1.254 -r1.255 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.338 -r1.339 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.52 -r1.53 src/usr.sbin/dumplfs/dumplfs.c

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



CVS commit: src/sys/arch/atari/stand/libsa

2015-08-12 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Aug 12 18:32:48 UTC 2015

Modified Files:
src/sys/arch/atari/stand/libsa: Makefile.inc
Removed Files:
src/sys/arch/atari/stand/libsa: dev.c

Log Message:
No need to have errno in a MD file. It's in MI src/sys/lib/libsa/errno.c.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/atari/stand/libsa/Makefile.inc
cvs rdiff -u -r1.4 -r0 src/sys/arch/atari/stand/libsa/dev.c

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



CVS commit: src/etc/mtree

2015-08-12 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Wed Aug 12 21:55:05 UTC 2015

Modified Files:
src/etc/mtree: NetBSD.dist.base

Log Message:
Remove obsolete directory ./usr/include/gcc-4.5


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 src/etc/mtree/NetBSD.dist.base

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



CVS commit: src/distrib/sets/lists/comp

2015-08-12 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Wed Aug 12 21:56:27 UTC 2015

Modified Files:
src/distrib/sets/lists/comp: md.sparc md.sparc64

Log Message:
Resurrect ./usr/include/gcc-4.8/tgmath.h on sparc*.  They are not
obsolete.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/distrib/sets/lists/comp/md.sparc
cvs rdiff -u -r1.194 -r1.195 src/distrib/sets/lists/comp/md.sparc64

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



CVS commit: [matt-nb5-mips64] src/sys/arch/arm/arm32

2015-08-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Aug 13 00:07:15 UTC 2015

Modified Files:
src/sys/arch/arm/arm32 [matt-nb5-mips64]: arm32_kvminit.c

Log Message:
Make sure the amount of direct mapped memory doesn't cross over into the
mappable KVA range.


To generate a diff of this commit:
cvs rdiff -u -r1.22.2.3 -r1.22.2.4 src/sys/arch/arm/arm32/arm32_kvminit.c

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



CVS commit: src/sys/arch/arm/arm32

2015-08-12 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Thu Aug 13 02:25:07 UTC 2015

Modified Files:
src/sys/arch/arm/arm32: cortex_pmc.c

Log Message:
fix: Cortex delay() shorten rarely.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/arm32/cortex_pmc.c

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



CVS commit: src/sys/dev/pci

2015-08-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Aug 13 04:27:16 UTC 2015

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
 Add some Red Hat devices.


To generate a diff of this commit:
cvs rdiff -u -r1.1228 -r1.1229 src/sys/dev/pci/pcidevs

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



CVS commit: src/sys/dev/pci

2015-08-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Aug 13 04:27:36 UTC 2015

Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h

Log Message:
regen.


To generate a diff of this commit:
cvs rdiff -u -r1.1222 -r1.1223 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1221 -r1.1222 src/sys/dev/pci/pcidevs_data.h

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



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

2015-08-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Aug 13 04:52:40 UTC 2015

Modified Files:
src/sys/arch/x86/pci: msipic.c

Log Message:
 Add workaround for PCI prefetchable bit in msipic_construct_msix_pic().
Some chips (e.g. Intel 82599) report SERR and MSI-X interrupt doesn't work.
This problem might not be the driver's bug but our PCI common part or VMs'
bug. See fxp(4), ixgbe(4) and ixgbe(4). All of them has the same workaround
related to prefetchable bit. For the MSI-X table area, it should not have side
effect by prefetching. Until we find a real reason, we ignore the prefetchable
bit.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x86/pci/msipic.c

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



CVS commit: src/sys

2015-08-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Aug 13 04:39:33 UTC 2015

Modified Files:
src/sys/arch/x86/include: pci_machdep_common.h
src/sys/arch/x86/pci: msipic.c pci_intr_machdep.c pci_msi_machdep.c
src/sys/dev/pci: pci.c pcivar.h

Log Message:
- Don't take pci_attach_args as an argument in pci_msi[x]_count().
- Move prototypes of pci_msi[x]_count() from x86/x86/pci_machdep_common to
  sys/dev/pci/pcivar.h.
- Move pci_msi[x]_count() from x86/pci/pci_msi_machdep.c to sys/dev/pci/pci.c


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/x86/include/pci_machdep_common.h
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x86/pci/msipic.c
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/x86/pci/pci_intr_machdep.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x86/pci/pci_msi_machdep.c
cvs rdiff -u -r1.146 -r1.147 src/sys/dev/pci/pci.c
cvs rdiff -u -r1.102 -r1.103 src/sys/dev/pci/pcivar.h

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



CVS commit: src/sys/dev/pci/ixgbe

2015-08-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Aug 13 04:56:43 UTC 2015

Modified Files:
src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_82599.c ixgbe_osdep.h ixgbe_type.h
ixv.c

Log Message:
 - Add MSI/MSI-X support. The multiqueue function is not supported yet.
 - Make ixv.c compilable. _NOT_TESTED_YET_


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/pci/ixgbe/ixgbe.c
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/pci/ixgbe/ixgbe_82599.c \
src/sys/dev/pci/ixgbe/ixv.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/ixgbe/ixgbe_osdep.h
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pci/ixgbe/ixgbe_type.h

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



CVS commit: src/sys/arch/amd64/conf

2015-08-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Aug 13 04:58:03 UTC 2015

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
 Compile ixv(4) by default.


To generate a diff of this commit:
cvs rdiff -u -r1.414 -r1.415 src/sys/arch/amd64/conf/GENERIC

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



CVS commit: src/share/man/man9

2015-08-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Aug 13 05:01:04 UTC 2015

Modified Files:
src/share/man/man9: pci_msi.9

Log Message:
 Change pci_msi[x]_count()'s argument.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man9/pci_msi.9

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



CVS commit: src/share/man/man4

2015-08-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Aug 13 05:02:37 UTC 2015

Modified Files:
src/share/man/man4: ixg.4

Log Message:
 MSI and MSI-X are supported now.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man4/ixg.4

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