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

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/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

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

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

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

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/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

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

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

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

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

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

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:

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:

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

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

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

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

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

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

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

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

CVS commit: src/sys/external/bsd/ipf/netinet

2019-11-11 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Nov 11 19:33:43 UTC 2019 Modified Files: src/sys/external/bsd/ipf/netinet: ip_fil.h Log Message: revert rev 1.7 (which removed the fd_local field from frdest_t). this structure is part of the kernel/user ABI and so we would need

CVS commit: src/sys/external/bsd/ipf/netinet

2019-11-11 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Nov 11 19:33:43 UTC 2019 Modified Files: src/sys/external/bsd/ipf/netinet: ip_fil.h Log Message: revert rev 1.7 (which removed the fd_local field from frdest_t). this structure is part of the kernel/user ABI and so we would need

CVS commit: src/sys

2019-11-10 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Nov 10 21:16:38 UTC 2019 Modified Files: src/sys/arch/acorn32/mainbus: fd.c src/sys/arch/algor/algor: algor_p4032_intr.c algor_p5064_intr.c algor_p6032_intr.c src/sys/arch/algor/pci: pcib.c

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

2019-11-10 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Nov 10 20:41:16 UTC 2019 Modified Files: src/sys/arch/amd64/conf: ALL Log Message: add ips driver. To generate a diff of this commit: cvs rdiff -u -r1.128 -r1.129 src/sys/arch/amd64/conf/ALL Please note that diffs are not

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

2019-11-10 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Nov 10 20:41:16 UTC 2019 Modified Files: src/sys/arch/amd64/conf: ALL Log Message: add ips driver. To generate a diff of this commit: cvs rdiff -u -r1.128 -r1.129 src/sys/arch/amd64/conf/ALL Please note that diffs are not

CVS commit: src/sys/uvm

2019-11-10 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Nov 10 20:38:33 UTC 2019 Modified Files: src/sys/uvm: uvm_fault.c Log Message: in uvm_fault_lower_io(), fetch all the map entry values that we need before we unlock everything. Reported-by:

CVS commit: src/sys/uvm

2019-11-10 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Nov 10 20:38:33 UTC 2019 Modified Files: src/sys/uvm: uvm_fault.c Log Message: in uvm_fault_lower_io(), fetch all the map entry values that we need before we unlock everything. Reported-by:

CVS commit: src/sys

2019-10-14 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Oct 15 00:13:53 UTC 2019 Modified Files: src/sys/arch/ia64/ia64: sapic.c src/sys/arch/sparc64/dev: ldc.c src/sys/arch/x86/x86: cpu_ucode_amd.c src/sys/dev/acpi: sdhc_acpi.c src/sys/dev/ata: ata.c

CVS commit: src/sys

2019-10-14 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Oct 15 00:13:53 UTC 2019 Modified Files: src/sys/arch/ia64/ia64: sapic.c src/sys/arch/sparc64/dev: ldc.c src/sys/arch/x86/x86: cpu_ucode_amd.c src/sys/dev/acpi: sdhc_acpi.c src/sys/dev/ata: ata.c

CVS commit: src/sys/kern

2019-10-09 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Oct 9 17:47:13 UTC 2019 Modified Files: src/sys/kern: sysv_shm.c Log Message: simpler fix for the race between shmat() and shmdt(): change shmat() to hold shm_lock until it is completely done. To generate a diff of this

CVS commit: src/sys/kern

2019-10-09 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Oct 9 17:47:13 UTC 2019 Modified Files: src/sys/kern: sysv_shm.c Log Message: simpler fix for the race between shmat() and shmdt(): change shmat() to hold shm_lock until it is completely done. To generate a diff of this

CVS commit: src/sys/kern

2019-10-09 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Oct 9 17:44:45 UTC 2019 Modified Files: src/sys/kern: sysv_shm.c Log Message: revert rev 1.139 (fixing a race between shmat() and shmdt()) that approach turned out to be too complicated. To generate a diff of this commit: cvs

CVS commit: src/sys/kern

2019-10-09 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Oct 9 17:44:45 UTC 2019 Modified Files: src/sys/kern: sysv_shm.c Log Message: revert rev 1.139 (fixing a race between shmat() and shmdt()) that approach turned out to be too complicated. To generate a diff of this commit: cvs

Re: CVS commit: src/sys/kern

2019-10-09 Thread Chuck Silvers
On Sun, Oct 06, 2019 at 08:41:35AM +0200, Maxime Villard wrote: > Le 01/10/2019 à 18:36, Chuck Silvers a écrit : > > Module Name:src > > Committed By: chs > > Date: Tue Oct 1 16:36:58 UTC 2019 > > > > Modified Files: > >

CVS commit: src/sys

2019-10-01 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Oct 1 18:00:09 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpufunc.c src/sys/arch/arm/altera: cycv_clkmgr.c src/sys/arch/arm/arm: undefined.c src/sys/arch/ia64/ia64: cpu.c

CVS commit: src/sys

2019-10-01 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Oct 1 18:00:09 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpufunc.c src/sys/arch/arm/altera: cycv_clkmgr.c src/sys/arch/arm/arm: undefined.c src/sys/arch/ia64/ia64: cpu.c

CVS commit: src/sys/net

2019-10-01 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Oct 1 17:45:25 UTC 2019 Modified Files: src/sys/net: if_media.c Log Message: in ifmedia_add(), use a wait-style memory allocation rather than not waiting and panic'ing if the allocation fails. Reported-by:

CVS commit: src/sys/net

2019-10-01 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Oct 1 17:45:25 UTC 2019 Modified Files: src/sys/net: if_media.c Log Message: in ifmedia_add(), use a wait-style memory allocation rather than not waiting and panic'ing if the allocation fails. Reported-by:

CVS commit: src/sys/uvm

2019-10-01 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Oct 1 17:40:22 UTC 2019 Modified Files: src/sys/uvm: uvm_pdaemon.c Log Message: in uvm_wait(), panic if the pagedaemon thread does not exist. this avoids a hang if the system runs out of memory before the mechanisms for

CVS commit: src/sys/uvm

2019-10-01 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Oct 1 17:40:22 UTC 2019 Modified Files: src/sys/uvm: uvm_pdaemon.c Log Message: in uvm_wait(), panic if the pagedaemon thread does not exist. this avoids a hang if the system runs out of memory before the mechanisms for

CVS commit: src/sys/dev/marvell

2019-10-01 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Oct 1 17:35:09 UTC 2019 Modified Files: src/sys/dev/marvell: files.armada if_mvxpe.c Log Message: make this compile again: - remove unused config attributes - rename a local variable to avoid a name conflict To generate a

CVS commit: src/sys/dev/marvell

2019-10-01 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Oct 1 17:35:09 UTC 2019 Modified Files: src/sys/dev/marvell: files.armada if_mvxpe.c Log Message: make this compile again: - remove unused config attributes - rename a local variable to avoid a name conflict To generate a

CVS commit: src/sys/kern

2019-10-01 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Oct 1 16:36:58 UTC 2019 Modified Files: src/sys/kern: sysv_shm.c Log Message: in shmdt(), wait until shmat() completes before detaching. Reported-by: syzbot+8f470a1bf36b47ae0...@syzkaller.appspotmail.com Reported-by:

CVS commit: src/sys/kern

2019-10-01 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Oct 1 16:36:58 UTC 2019 Modified Files: src/sys/kern: sysv_shm.c Log Message: in shmdt(), wait until shmat() completes before detaching. Reported-by: syzbot+8f470a1bf36b47ae0...@syzkaller.appspotmail.com Reported-by:

CVS commit: src/sys/external/bsd/drm2/dist/drm/i915

2019-09-28 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Sep 28 16:14:52 UTC 2019 Modified Files: src/sys/external/bsd/drm2/dist/drm/i915: intel_lrc.c intel_ringbuffer.c Log Message: initialize a local variable to avoid a gcc warning with certain optimization options. To generate a

CVS commit: src/sys/external/bsd/drm2/dist/drm/i915

2019-09-28 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Sep 28 16:14:52 UTC 2019 Modified Files: src/sys/external/bsd/drm2/dist/drm/i915: intel_lrc.c intel_ringbuffer.c Log Message: initialize a local variable to avoid a gcc warning with certain optimization options. To generate a

CVS commit: src/sys/arch/cesfic/cesfic

2019-09-26 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Fri Sep 27 00:53:34 UTC 2019 Modified Files: src/sys/arch/cesfic/cesfic: autoconf.c Log Message: do not clear "cold" in MD code, that is done in MI code. this instance was missed when that was changed 20 years ago. To generate a

CVS commit: src/sys/arch/cesfic/cesfic

2019-09-26 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Fri Sep 27 00:53:34 UTC 2019 Modified Files: src/sys/arch/cesfic/cesfic: autoconf.c Log Message: do not clear "cold" in MD code, that is done in MI code. this instance was missed when that was changed 20 years ago. To generate a

CVS commit: src/sys/miscfs/procfs

2019-09-07 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Sep 7 19:08:28 UTC 2019 Modified Files: src/sys/miscfs/procfs: procfs_linux.c Log Message: have procfs_do_pid_stat() pass the proc's map to get_proc_size_info(), rather than having the latter look up the map again and not check

CVS commit: src/sys/miscfs/procfs

2019-09-07 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Sep 7 19:08:28 UTC 2019 Modified Files: src/sys/miscfs/procfs: procfs_linux.c Log Message: have procfs_do_pid_stat() pass the proc's map to get_proc_size_info(), rather than having the latter look up the map again and not check

CVS commit: src/sys/uvm

2019-08-05 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Aug 5 17:36:42 UTC 2019 Modified Files: src/sys/uvm: uvm_fault.c Log Message: fix two bugs reported in https://syzkaller.appspot.com/bug?id=8840dce484094a926e1ec388ffb83acb2fa291c9 - in uvm_fault_check(), if the map entry is

CVS commit: src/sys/uvm

2019-08-05 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Aug 5 17:36:42 UTC 2019 Modified Files: src/sys/uvm: uvm_fault.c Log Message: fix two bugs reported in https://syzkaller.appspot.com/bug?id=8840dce484094a926e1ec388ffb83acb2fa291c9 - in uvm_fault_check(), if the map entry is

CVS commit: src/sys/kern

2019-06-09 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Jun 10 00:35:47 UTC 2019 Modified Files: src/sys/kern: sysv_shm.c Log Message: shmctl(SHM_LOCK) does not need to mess with mappings of the shm segment, uvm_obj_wirepages() is sufficient. this fixes the problem reported in

CVS commit: src/sys/kern

2019-06-09 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Jun 10 00:35:47 UTC 2019 Modified Files: src/sys/kern: sysv_shm.c Log Message: shmctl(SHM_LOCK) does not need to mess with mappings of the shm segment, uvm_obj_wirepages() is sufficient. this fixes the problem reported in

CVS commit: src/sys/uvm

2019-06-08 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Jun 8 23:48:33 UTC 2019 Modified Files: src/sys/uvm: uvm_map.c Log Message: in uvm_map_protect(), do a pmap_update() before possibly switching from removing pmap entries to creating them. this fixes the problem reported in

CVS commit: src/sys/uvm

2019-06-08 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Jun 8 23:48:33 UTC 2019 Modified Files: src/sys/uvm: uvm_map.c Log Message: in uvm_map_protect(), do a pmap_update() before possibly switching from removing pmap entries to creating them. this fixes the problem reported in

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

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

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

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

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

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

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

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

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

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

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

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

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 \

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 \

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

CVS commit: src/sys/uvm

2018-06-02 Thread Chuck Silvers
@@ -1,4 +1,4 @@ -/* $NetBSD: uvm_bio.c,v 1.96 2018/05/26 18:57:35 jdolecek Exp $ */ +/* $NetBSD: uvm_bio.c,v 1.97 2018/06/02 15:24:55 chs Exp $ */ /* * Copyright (c) 1998 Chuck Silvers. @@ -34,7 +34,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.96 2018/05/26 18:

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

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/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

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:

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

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

CVS commit: src/sys

2018-05-28 Thread Chuck Silvers
, int npages, int flags) { Index: src/sys/miscfs/genfs/genfs_node.h diff -u src/sys/miscfs/genfs/genfs_node.h:1.21 src/sys/miscfs/genfs/genfs_node.h:1.22 --- src/sys/miscfs/genfs/genfs_node.h:1.21 Thu Jun 6 02:00:59 2013 +++ src/sys/miscfs/genfs/genfs_node.h Mon May 28 21:04:38 2018 @@ -1,4

CVS commit: src/sys

2018-05-28 Thread Chuck Silvers
21:04:35 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_aobj.c,v 1.126 2017/10/28 00:37:13 pgoyette Exp $ */ +/* $NetBSD: uvm_aobj.c,v 1.127 2018/05/28 21:04:35 chs Exp $ */ /* * Copyright (c) 1998 Chuck Silvers, Charles D. Cranor and @@ -38,7 +38,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD

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() -

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

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() -

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

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

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/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

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

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/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

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

<    1   2   3   4   5   6   7   8   9   10   >