CVS commit: src/usr.bin/rlogin

2021-08-03 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Aug 3 23:21:07 UTC 2021 Modified Files: src/usr.bin/rlogin: rlogin.c Log Message: revert rev 1.45: "PR/54435: Adjust for new kernel behavior of soreceive(9) clearing MSG_OOB" That change was trying to make rlogin work again a

CVS commit: src/sys/kern

2021-08-03 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Aug 3 20:27:08 UTC 2021 Modified Files: src/sys/kern: uipc_socket.c Log Message: in sbsavetimestamp(), initialize struct timeval to 0 with memset() so that the implicit padding is initialized. this avoids later copying uninitia

CVS commit: src/sys/kern

2021-08-03 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Aug 3 20:25:43 UTC 2021 Modified Files: src/sys/kern: vfs_wapbl.c Log Message: initialize wc_unused to 0, to avoid writing uninitialized memory to disk. detected by KMSAN. To generate a diff of this commit: cvs rdiff -u -r1.10

CVS commit: src/external/gpl2/gettext/dist/gettext-runtime

2021-08-03 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Aug 3 20:22:15 UTC 2021 Modified Files: src/external/gpl2/gettext/dist/gettext-runtime: Makefile.in Log Message: do not descend into the man or tests directory. this avoids a problem where git sets the file timestamps differentl

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

2021-07-19 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Jul 19 14:49:45 UTC 2021 Modified Files: src/sys/arch/powerpc/oea: pmap.c Log Message: there is no need to keep pvos for unmanaged mappings on a hidden p/v list, since "unmanaged" means that we don't want to find such pvos on any

CVS commit: src/sys/uvm

2021-07-01 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Thu Jul 1 15:06:01 UTC 2021 Modified Files: src/sys/uvm: uvm_map.c Log Message: in uvm_mapent_forkzero(), if the old entry was an object mapping, appease a debug check by setting the new entry offset to zero along with setting the n

CVS commit: src/sys

2021-06-28 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Jun 28 17:52:13 UTC 2021 Modified Files: src/sys/fs/ptyfs: ptyfs_vnops.c src/sys/miscfs/fdesc: fdesc_vnops.c src/sys/miscfs/kernfs: kernfs_vnops.c src/sys/miscfs/procfs: procfs_vnops.c Log Message: VOP_BMA

CVS commit: src/usr.bin/kdump

2021-06-19 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Jun 20 00:25:29 UTC 2021 Modified Files: src/usr.bin/kdump: kdump.c Log Message: fix printf format string for xattr names (the length of the xattr name needs to be a precision rather than a width). To generate a diff of this co

CVS commit: src/sys/external/bsd/acpica/dist/namespace

2021-05-30 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun May 30 16:25:35 UTC 2021 Modified Files: src/sys/external/bsd/acpica/dist/namespace: nsaccess.c Log Message: avoid dereferencing a constant string address as a UINT32 pointer, KUBSAN complains about bad alignment. Reported-by: s

CVS commit: src/sys/uvm

2021-03-26 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Fri Mar 26 09:35:18 UTC 2021 Modified Files: src/sys/uvm: uvm_pglist.c Log Message: in uvm_pglistalloc_contig_aggressive(), avoid looking forward past the end of the target range of the physseg. fixes PR 56074. To generate a diff o

CVS commit: src/tests/rump/rumpkern

2021-01-22 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Fri Jan 22 22:03:01 UTC 2021 Modified Files: src/tests/rump/rumpkern: t_vm.c Log Message: for the busypage test, replace atf_tc_expect_fail() with atf_tc_skip() because atf apparently has no way to expect a test program to crash. fix

CVS commit: src/sys/rump/librump/rumpkern

2021-01-17 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Jan 17 22:32:25 UTC 2021 Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: rump_component_init() is called recursively, so LIST_FOREACH_SAFE is not actually safe, since the recursive calls can result in elements

CVS commit: src/sys

2021-01-16 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Jan 16 23:51:51 UTC 2021 Modified Files: src/sys/arch/arm/arm: psci.c src/sys/conf: files src/sys/lib/libkern: libkern.h src/sys/lib/libkern/arch/hppa: bcopy.S src/sys/sys: cdefs.h queue.h Log Mess

CVS commit: src/sys/rump/librump/rumpkern

2021-01-16 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Jan 16 23:50:49 UTC 2021 Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: remove a const to allow building with QUEUEDEBUG. To generate a diff of this commit: cvs rdiff -u -r1.351 -r1.352 src/sys/rump/librump/

CVS commit: src/sys/arch/sparc/sparc

2021-01-13 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Jan 13 16:42:17 UTC 2021 Modified Files: src/sys/arch/sparc/sparc: pmap.c Log Message: in pmap_writetext(), restore the context also when we return early. To generate a diff of this commit: cvs rdiff -u -r1.370 -r1.371 src/sys/

CVS commit: src/sys/arch/sparc/sparc

2021-01-10 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Jan 11 06:12:43 UTC 2021 Modified Files: src/sys/arch/sparc/sparc: pmap.c Log Message: in pgt_page_alloc(), wait and retry the page allocation if PR_WAITOK. fixes PR 55895. To generate a diff of this commit: cvs rdiff -u -r1.36

CVS commit: src/sys/kern

2020-12-29 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Dec 29 22:13:40 UTC 2020 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Honor LOCKPARENT for ".." of the root directory. Reported-by: syzbot+f40b9f241b818fd12...@syzkaller.appspotmail.com To generate a diff of this co

CVS commit: src/sys/kern

2020-12-14 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Dec 14 23:12:12 UTC 2020 Modified Files: src/sys/kern: uipc_sem.c Log Message: when updating the per-uid "semcnt", decrement the counter for the uid that created the ksem, not the uid of the process freeing the ksem. fixes PR 555

CVS commit: src/sys/fs/tmpfs

2020-12-13 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Dec 13 19:22:02 UTC 2020 Modified Files: src/sys/fs/tmpfs: tmpfs_vnops.c Log Message: Disable use of UBC_FAULTBUSY in tmpfs_write() for now, which brings back zeroing of all new tmpfs data pages. The existing code that enables th

CVS commit: src/sys/rump/librump/rumpvfs

2020-12-08 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Dec 9 00:03:32 UTC 2020 Modified Files: src/sys/rump/librump/rumpvfs: vm_vfs.c Log Message: make rump's uvm_aio_aiodone_pages() look more like the kernel version. fixes some more rumpy assertions. To generate a diff of this co

CVS commit: src/tests/rump/rumpkern

2020-12-08 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Dec 8 17:52:11 UTC 2020 Modified Files: src/tests/rump/rumpkern: t_vm.c Log Message: the busypage test is buggy, expect it to fail. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/rump/rumpkern/t_vm.c Pl

CVS commit: src/sys/rump/librump/rumpkern

2020-12-05 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Dec 5 19:08:50 UTC 2020 Modified Files: src/sys/rump/librump/rumpkern: vm.c Log Message: update the rump copy of uvm_page_unbusy() to match the real version, in particular handle PG_PAGEOUT. fixes a few atf tests. To generate

CVS commit: src/sys

2020-11-22 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Nov 23 00:52:53 UTC 2020 Modified Files: src/sys/kern: uipc_socket.c src/sys/netinet: tcp_usrreq.c src/sys/sys: socketvar.h Log Message: Restore correct functioning of SIOCATMARK by removing the previous change th

CVS commit: src/sys

2020-11-16 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Nov 17 03:22:33 UTC 2020 Modified Files: src/sys/kern: sys_socket.c src/sys/sys: socketvar.h Log Message: When SS_RESTARTSYS was added, it was accidentally given the same value as the existing SS_ASYNC. SS_ASYNC was alre

CVS commit: src/external/cddl/osnet/dist/uts/common/dtrace

2020-11-16 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Nov 17 03:20:33 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/dtrace: dtrace.c Log Message: Remove a pointless printf. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 \ src/external/cddl/osn

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2020-11-14 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Nov 15 00:54:13 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: Commit the ZFS file that I forgot in this previous commit: Move the handling of PG_PAGEOUT from uvm_aio_aiodone_pa

CVS commit: src/external/cddl/osnet/sys/kern

2020-11-10 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Nov 11 03:31:04 UTC 2020 Modified Files: src/external/cddl/osnet/sys/kern: kmem.c Log Message: kmem_cache_create()'s "name" parameter can be on the stack, so make a copy of it rather than keeping a pointer to it. To generate a

CVS commit: src/sys/uvm

2020-11-09 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Nov 10 04:27:22 UTC 2020 Modified Files: src/sys/uvm: uvm_bio.c Log Message: remove someone's leftover debug printfs. To generate a diff of this commit: cvs rdiff -u -r1.123 -r1.124 src/sys/uvm/uvm_bio.c Please note that diffs

CVS commit: src/sys/kern

2020-11-09 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Nov 9 18:09:02 UTC 2020 Modified Files: src/sys/kern: vfs_vnops.c Log Message: Lock the vnode while calling VOP_BMAP() for FIOGETBMAP. Reported-by: syzbot+cfa1b773be7337250...@syzkaller.appspotmail.com To generate a diff of t

CVS commit: src/usr.bin/pmap

2020-11-03 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Nov 4 01:37:55 UTC 2020 Modified Files: src/usr.bin/pmap: main.c pmap.c pmap.h Log Message: Restrict to root any command option that prints kernel addresses. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/us

CVS commit: src/sys

2020-11-03 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Nov 4 01:30:19 UTC 2020 Modified Files: src/sys/kern: init_main.c src/sys/uvm: uvm_aobj.c uvm_init.c uvm_pdaemon.c Log Message: In uvmpd_tryownerlock(), if the initial try-lock of the owner lock fails then rather than do

CVS commit: src/sys/uvm

2020-10-24 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Oct 25 00:05:26 UTC 2020 Modified Files: src/sys/uvm: uvm_anon.c Log Message: Handle PG_PAGEOUT in uvm_anon_release() too. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/uvm/uvm_anon.c Please note that d

CVS commit: src/sys/rump/librump/rumpvfs

2020-10-21 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Thu Oct 22 03:05:17 UTC 2020 Modified Files: src/sys/rump/librump/rumpvfs: vm_vfs.c Log Message: fix an incorrect assertion in the previous commit. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/rump/librump/

CVS commit: src/sys/uvm

2020-10-18 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Oct 18 18:31:31 UTC 2020 Modified Files: src/sys/uvm: uvm_page.c uvm_pgflcache.c Log Message: In the current code, CPU_COUNT_FREEPAGES counts pages in the global freelists AND the per-CPU pgflcache free pages caches, and that is

CVS commit: src/sys

2020-10-18 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Oct 18 18:22:29 UTC 2020 Modified Files: src/sys/rump/librump/rumpvfs: vm_vfs.c src/sys/uvm: uvm_page.c uvm_pager.c Log Message: Move the handling of PG_PAGEOUT from uvm_aio_aiodone_pages() to uvm_page_unbusy() so that al

CVS commit: src/sys/uvm

2020-10-07 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Oct 7 17:51:50 UTC 2020 Modified Files: src/sys/uvm: uvm_init.c uvm_page.h uvm_pglist.c uvm_swap.c Log Message: Add a new, more aggressive allocator for uvm_pglistalloc() to allocate contiguous physical pages, and try this new a

CVS commit: src/sys/uvm

2020-09-21 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Sep 21 18:41:59 UTC 2020 Modified Files: src/sys/uvm: uvm_amap.c uvm_io.c Log Message: the previous fix for PR 55366 in uvm_amap.c 1.124 was incomplete: - amap_adjref_anons() must also ignore AMAP_REFALL when updating the ppr

CVS commit: src/sys/uvm

2020-09-20 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Sep 20 23:03:01 UTC 2020 Modified Files: src/sys/uvm: uvm_amap.c Log Message: Effectively disable the AMAP_REFALL flag because it is unsafe. This flag tells the amap code that it does not need to allocate ppref as part of adding

CVS commit: src/sys/uvm

2020-08-19 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Aug 19 15:36:41 UTC 2020 Modified Files: src/sys/uvm: uvm_aobj.c Log Message: in uao_get(), if we unlock the uobj to read a page from swap, we must clear the cached page array because it is now stale. also add a missing call to u

CVS commit: src/sys/uvm

2020-08-18 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Aug 18 10:40:20 UTC 2020 Modified Files: src/sys/uvm: uvm_amap.c Log Message: fix amap_extend() to handle amaps where we previously failed to allocate the ppref memory. To generate a diff of this commit: cvs rdiff -u -r1.122 -r

CVS commit: src/sys/uvm

2020-08-15 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Aug 16 00:24:41 UTC 2020 Modified Files: src/sys/uvm: uvm_vnode.c Log Message: in uvm_findpage(), when uvm_page_array_fill_and_peek() returns a page that is not the one we want and we make an assertion about dirtiness, check the

CVS commit: src/sys/uvm

2020-08-15 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Aug 15 07:24:10 UTC 2020 Modified Files: src/sys/uvm: uvm_object.c Log Message: use uint64_t rather than int for storing the index of a page within an object. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sy

CVS commit: src/sys/dev/ic

2020-08-14 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Fri Aug 14 09:28:29 UTC 2020 Modified Files: src/sys/dev/ic: ld_icp.c Log Message: fix a bit that I missed in the device_t/softc split 8 years ago. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/dev/ic/ld_icp

CVS commit: src/sys/dev/ic

2020-08-14 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Fri Aug 14 09:26:40 UTC 2020 Modified Files: src/sys/dev/ic: icp.c Log Message: restore the initialization of icp->icp_ccbs that I removed by mistake. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/dev/ic/icp

CVS commit: src/sys

2020-08-14 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Fri Aug 14 09:06:15 UTC 2020 Modified Files: src/sys/miscfs/genfs: genfs_io.c src/sys/uvm: uvm_extern.h uvm_object.c uvm_object.h uvm_page.c uvm_page_status.c uvm_pager.c uvm_vnode.c Log Message: centralize calls

CVS commit: src/sys

2020-07-30 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Fri Jul 31 04:07:30 UTC 2020 Modified Files: src/sys/kern: vfs_bio.c src/sys/sys: buf.h src/sys/ufs/ffs: ffs_inode.c Log Message: fix the UFS2 extattr truncate code to play nice with wapbl. also, rather than pull in t

CVS commit: src/sys/ufs

2020-07-25 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Jul 26 00:21:24 UTC 2020 Modified Files: src/sys/ufs/ffs: ffs_inode.c src/sys/ufs/ufs: ufs_inode.c Log Message: pull in a bit more FreeBSD code to allow specifying truncation of the regular bmap (IO_NORMAL) independently

CVS commit: src/sys/ufs/ffs

2020-07-25 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Jul 26 00:20:14 UTC 2020 Modified Files: src/sys/ufs/ffs: ffs_alloc.c Log Message: skip the assertions about page-locking when allocating to the extattr bmap, since extattrs do not use the page cache. To generate a diff of this

CVS commit: src/doc

2020-07-04 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Jul 4 21:03:50 UTC 2020 Modified Files: src/doc: CHANGES Log Message: note x86 Xen kernel module change. To generate a diff of this commit: cvs rdiff -u -r1.2708 -r1.2709 src/doc/CHANGES Please note that diffs are not public

CVS commit: src

2020-07-04 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Jul 4 21:02:16 UTC 2020 Modified Files: src/distrib/sets/lists/modules: md.amd64 md.i386 src/share/mk: bsd.own.mk src/sys/arch/x86/x86: x86_machdep.c src/sys/modules/arch: archdirs.mk Removed Files:

CVS commit: src/sys/dev/iscsi

2020-06-21 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Jun 21 23:08:16 UTC 2020 Modified Files: src/sys/dev/iscsi: iscsi_globals.h iscsi_ioctl.c Log Message: avoid the use of UVM internals in the iscsi ioctl code. copyin/out are fine in this context. To generate a diff of this comm

CVS commit: src/sys

2020-06-13 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Jun 14 01:40:06 UTC 2020 Modified Files: src/sys/arch/algor/dev: mainbus.c src/sys/arch/amiga/pci: em4k.c empb.c mppb.c p5pb.c src/sys/arch/arc/pci: necpb.c src/sys/arch/arm/broadcom: bcm53xx_pax.c

CVS commit: src/sys/dev/ic

2020-05-17 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun May 17 21:50:47 UTC 2020 Modified Files: src/sys/dev/ic: dwc_gmac.c dwc_gmac_reg.h Log Message: Mask all the MMC counter interrupts if the MMC module is present. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2020-05-12 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed May 13 05:52:54 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: fix the handling in putpage of the page containing EOF. To generate a diff of this commit: cvs rdiff -u -r1.65 -r

CVS commit: src/sys/arch/aarch64/aarch64

2020-05-12 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed May 13 05:37:16 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: db_machdep.c Log Message: for "mach cpuinfo", print ci_biglock_count too. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/arch/aarch64

CVS commit: src

2020-04-12 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Apr 13 00:27:17 UTC 2020 Modified Files: src/share/man/man9: pool.9 pool_cache.9 src/sys/arch/arm/arm32: pmap.c src/sys/arch/xen/x86: xen_shm_machdep.c src/sys/arch/xen/xen: xbdback_xenbus.c src/sys

CVS commit: src/sys/dev/acpi

2020-03-22 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Mar 23 00:37:19 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_debug.c Log Message: in acpi_debug_init(), the string we extract from the dictionary is a normal C string, so use strlcpy() rather than memcpy() to copy it. found by

CVS commit: src/sys/kern

2020-03-07 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Mar 8 00:26:06 UTC 2020 Modified Files: src/sys/kern: kern_mutex.c Log Message: split an "a && b" assertion into two so it's clear in the dump which condition was not true even if both are true by the time the dump is written.

CVS commit: src/sys/ufs/ufs

2020-03-07 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Mar 8 00:23:59 UTC 2020 Modified Files: src/sys/ufs/ufs: ufs_dirhash.c Log Message: in ufsdirhash_free(), only examine dh->dh_onlist after taking the dirhashlist lock. if we skip the lock then we might see that dh_onlist is zer

CVS commit: src/lib/libkvm

2020-03-07 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Mar 8 00:14:18 UTC 2020 Modified Files: src/lib/libkvm: kvm_x86_64.c Log Message: use a binary search in _kvm_pa2off(). this helps a lot for sparse dumps, which can have millions of memory segments. To generate a diff of this

CVS commit: src/lib/libkvm

2020-03-07 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Mar 8 00:06:42 UTC 2020 Modified Files: src/lib/libkvm: kvm.c Log Message: only do bounce buffering for character devices. To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/lib/libkvm/kvm.c Please note that

CVS commit: src/sys/kern

2020-02-22 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Feb 22 21:59:31 UTC 2020 Modified Files: src/sys/kern: subr_copy.c Log Message: check for errors from proc_vmspace_getref(). To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/kern/subr_copy.c Please note th

CVS commit: src/sys

2020-02-22 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Feb 22 19:49:11 UTC 2020 Modified Files: src/sys/arch/arm/arm: fiq.c src/sys/arch/x86/acpi: acpi_wakeup.c src/sys/arch/x86/include: bus_private.h src/sys/dev/audio: audio.c Log Message: remove some unneces

CVS commit: src/sys

2020-02-22 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Feb 22 19:46:49 UTC 2020 Modified Files: src/sys/arch/xen/xen: privcmd.c src/sys/external/bsd/drm2/dist/drm/i915: i915_gem.c src/sys/external/bsd/drm2/drm: drm_gem_cma_helper.c src/sys/uvm: uvm_device.c Lo

CVS commit: src/sys

2020-02-18 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Feb 18 20:23:18 UTC 2020 Modified Files: src/sys/kern: init_main.c src/sys/miscfs/genfs: genfs_io.c src/sys/rump/librump/rumpkern: rump.c src/sys/rump/librump/rumpvfs: vm_vfs.c src/sys/ufs/lfs: lfs_

CVS commit: src/sys/dev/scsipi

2020-02-11 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Feb 12 00:19:07 UTC 2020 Modified Files: src/sys/dev/scsipi: atapi_wdc.c Log Message: the number of possible ATAPI devices on an ATA bus is not always 2, it is however many devices the underlying ATA bus can have (eg. 1 for SATA)

CVS commit: src/sys/kern

2020-01-19 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Jan 19 23:49:32 UTC 2020 Modified Files: src/sys/kern: subr_pool.c Log Message: fix assertions about when it is ok for pool_get() to return NULL. To generate a diff of this commit: cvs rdiff -u -r1.264 -r1.265 src/sys/kern/subr

CVS commit: src/sys/dev/acpi

2020-01-12 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Jan 13 00:19:43 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_pci_link.c Log Message: apply FreeBSD revs r214848 and r214849: r214849 | jkim | 2010-11-05 13:24:26 -0700 (Fri, 05 Nov 2010) | 2 lines Add a forgotten cha

CVS commit: src/sys/uvm

2019-12-02 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Dec 2 20:02:02 UTC 2019 Modified Files: src/sys/uvm: uvm_anon.c Log Message: fix the build for when UVMHIST is enabled. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/uvm/uvm_anon.c Please note that dif

CVS commit: src/sys/uvm

2019-05-08 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed May 8 16:00:01 UTC 2019 Modified Files: src/sys/uvm: uvm_glue.c Log Message: uvm_pagealloc() uses UVM_PGA_* flags, not UVM_KMF_* flags, and it is always nowait. fix uarea_poolpage_alloc() to not use flags from the wrong collect

CVS commit: src/sys/external/bsd/drm2/ttm

2019-04-21 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Apr 21 15:49:50 UTC 2019 Modified Files: src/sys/external/bsd/drm2/ttm: ttm_bus_dma.c Log Message: in ttm_bus_dma_populate(), move the clearing of TTM_PAGE_FLAG_SWAPPED to be earlier to avoid wrongly asserting if bus_dmamap_load_

CVS commit: src/sys/uvm

2019-04-21 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Apr 21 15:32:18 UTC 2019 Modified Files: src/sys/uvm: uvm_pdaemon.c Log Message: Draining pools from the pagedaemon thread can deadlock, because draining a pool can involve taking a lock which can be held by a thread which is blo

CVS commit: src/sys/uvm

2019-04-21 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Apr 21 15:27:59 UTC 2019 Modified Files: src/sys/uvm: uvm_fault.c Log Message: If a pager fault method returns ENOMEM but some memory appears to be reclaimable, wake up the pagedaemon and retry the fault. This fixes the problem

CVS commit: src/sys/rump/librump/rumpvfs

2018-06-03 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Jun 4 02:29:53 UTC 2018 Modified Files: src/sys/rump/librump/rumpvfs: rumpfs.c Log Message: initialize the new gop_putrange method pointer in rumpfs_genfsops too. To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153

CVS commit: src/external/cddl/osnet/sys/sys

2018-06-02 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Jun 3 05:55:08 UTC 2018 Modified Files: src/external/cddl/osnet/sys/sys: proc.h sysmacros.h time.h types.h Log Message: tweak the osnet compat headers to allow building on MacOS and Linux hosts. To generate a diff of this comm

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2018-06-02 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Jun 3 03:05:56 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: dmu_tx.c Log Message: avoid calling kpause() with a delay of 0. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/exte

CVS commit: src/sys/uvm

2018-06-02 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Jun 2 15:24:55 UTC 2018 Modified Files: src/sys/uvm: uvm_bio.c Log Message: add missing boilerplate for UVMHIST. To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 src/sys/uvm/uvm_bio.c Please note that diffs are n

CVS commit: src/external/cddl/osnet

2018-05-28 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon May 28 23:47:40 UTC 2018 Added Files: src/external/cddl/osnet/dev/dtrace/x86: dis_tables.c dis_tables.h instr_size.c regset.h src/external/cddl/osnet/dev/fbt/arm: fbt_isa.c fbt_isa.h src/external/cddl/o

CVS commit: src/sys

2018-05-28 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon May 28 21:04:38 UTC 2018 Modified Files: src/sys/fs/efs: efs_genfs.c src/sys/fs/msdosfs: msdosfs_denode.c src/sys/fs/nilfs: nilfs_vfsops.c src/sys/fs/puffs: puffs_vfsops.c src/sys/fs/sysvbfs: sysvbf

CVS commit: src/sys

2018-05-28 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon May 28 21:04:40 UTC 2018 Modified Files: src/sys/kern: kern_module.c src/sys/sys: module.h Log Message: add more accessor functions for various struct module fields. add a mechanism for registering callbacks to be called

CVS commit: src

2018-05-28 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon May 28 21:05:12 UTC 2018 Modified Files: src/distrib/sets/lists/base: shl.mi src/distrib/sets/lists/comp: mi shl.mi src/distrib/sets/lists/debug: mi shl.mi src/distrib/sets/lists/man: mi src/externa

CVS commit: src/sys

2018-05-28 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon May 28 21:04:42 UTC 2018 Modified Files: src/sys/kern: subr_copy.c src/sys/sys: systm.h Log Message: add copyin_pid(), to copyin from a different user address space. To generate a diff of this commit: cvs rdiff -u -r1.7

CVS commit: src/sys/sys

2018-05-28 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon May 28 21:05:16 UTC 2018 Modified Files: src/sys/sys: param.h Log Message: welcome to 8.99.13: - uao_create()'s size is now 64-bit - new genfs op to let a file system constrain the range of pages passed to GOP_WRITE() - var

CVS commit: src/sys

2018-05-28 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon May 28 21:04:35 UTC 2018 Modified Files: src/sys/fs/tmpfs: tmpfs_subr.c src/sys/uvm: uvm_aobj.c uvm_extern.h Log Message: allow tmpfs files to be larger than 4GB. To generate a diff of this commit: cvs rdiff -u -r1.102

CVS import: src/external/cddl/osnet

2018-05-28 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon May 28 20:53:06 UTC 2018 Update of /cvsroot/src/external/cddl/osnet In directory ivanova.netbsd.org:/tmp/cvs-serv14363 Log Message: import new CDDL dtrace and ZFS code from FreeBSD svn r315983. Status: Vendor Tag: FreeBSD Release T

CVS commit: src/sys/sys

2018-02-25 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Feb 25 18:55:23 UTC 2018 Modified Files: src/sys/sys: filio.h Log Message: add definitions of FIOSEEKDATA and FIOSEEKHOLE for ZFS. from FreeBSD. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/sys/filio.h

CVS commit: src/sys/kern

2018-02-25 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Feb 25 18:54:29 UTC 2018 Modified Files: src/sys/kern: kern_mutex.c Log Message: add defines to control whether or not mutex operations are skipped after we have panic'd. no functional change. To generate a diff of this commit

CVS commit: src/share/mk

2018-02-25 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Feb 25 18:53:23 UTC 2018 Modified Files: src/share/mk: bsd.host.mk sys.mk Log Message: add DTRACE_OPTS and HOST_DTRACE_OPTS to allow disabling various optimizations that interfere with using dtrace. use them when MKDTRACE=yes.

CVS commit: src/lib/libpthread

2018-02-25 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Feb 25 18:51:18 UTC 2018 Modified Files: src/lib/libpthread: Makefile Log Message: remove hard-coded -fomit-frame-pointer for pthread stuff, let these use the same setting as the rest of the tree. the performance difference is ma

CVS commit: src/external/bsd/libproc/dist

2018-02-25 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Feb 25 18:48:39 UTC 2018 Modified Files: src/external/bsd/libproc/dist: libproc.h Log Message: add some flag definitions from a newer version of FreeBSD's libproc that are needed by the new dtrace. these don't do anything yet, b

CVS commit: src/sys/arch

2018-01-27 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Jan 27 23:07:36 UTC 2018 Modified Files: src/sys/arch/alpha/alpha: pmap.c src/sys/arch/m68k/m68k: pmap_motorola.c src/sys/arch/powerpc/oea: pmap.c src/sys/arch/sparc64/sparc64: pmap.c Log Message: apply th

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

2017-12-17 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Dec 17 17:18:34 UTC 2017 Modified Files: src/sys/arch/powerpc/include: cpu.h Log Message: apply the same change for powerpc as mrg did for arm and mips: CPU_INFO_FOREACH() must always iterate at least the boot cpu. document this

CVS commit: src/sys/kern

2017-12-15 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Fri Dec 15 16:05:51 UTC 2017 Modified Files: src/sys/kern: init_main.c Log Message: add some assertions to verify that CPU_INFO_FOREACH() works right early in the boot process. this detects existing bugs on some platforms. To gene

CVS commit: src/sys/ufs/ffs

2017-12-07 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Thu Dec 7 21:53:41 UTC 2017 Modified Files: src/sys/ufs/ffs: ffs_alloc.c Log Message: fix the UVM_PAGE_TRKOWN page-locking assertion at the top of ffs_alloc() to work right for multi-threaded processes. To generate a diff of this

CVS commit: src/sys/uvm

2017-11-20 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Nov 20 21:06:54 UTC 2017 Modified Files: src/sys/uvm: uvm_fault.c Log Message: In uvm_fault_upper_enter(), if pmap_enter(PMAP_CANFAIL) fails, assert that the pmap did not leave around a now-stale pmap mapping for an old page. If

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

2017-11-20 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Nov 20 20:57:58 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: In pmap_enter_ma(), only try to allocate pves if we might need them, and even if that fails, only fail the operation if we later discover that we

CVS commit: src/sys/arch/arm

2017-07-06 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Fri Jul 7 00:34:09 UTC 2017 Modified Files: src/sys/arch/arm/arm32: exception.S src/sys/arch/arm/include/arm32: frame.h Log Message: split PUSHFRAMEINSVC into two pieces so that we can insert some additional instructions in

CVS commit: src/external/gpl3/binutils/usr.sbin/dbsym

2017-07-05 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Thu Jul 6 02:34:00 UTC 2017 Modified Files: src/external/gpl3/binutils/usr.sbin/dbsym: dbsym.c Log Message: copy the CTF section too, if there is one. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/b

CVS commit: src/sys/arch/evbarm/awin

2017-07-05 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Jul 5 23:04:09 UTC 2017 Modified Files: src/sys/arch/evbarm/awin: awin_start.S Log Message: in the awin_start startup code, set up a tiny stack in case a C function wants to use it. in the various *_mpinit functions, avoid usin

CVS commit: src/sys/arch/evbarm/fdt

2017-07-05 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Jul 5 19:30:51 UTC 2017 Modified Files: src/sys/arch/evbarm/fdt: fdt_machdep.c Log Message: the extent code cannot use the full range of u_long, so ignore the last page before 4GB too. ok jmcneill@ To generate a diff of this

  1   2   3   4   5   >