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:

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:

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

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

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.

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 \

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 \

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

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

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/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
:22 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_bio.c,v 1.123 2020/10/18 08:52:15 rin Exp $ */ +/* $NetBSD: uvm_bio.c,v 1.124 2020/11/10 04:27:22 chs Exp $ */ /* * Copyright (c) 1998 Chuck Silvers. @@ -34,7 +34,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.123 2020/10/18 08:

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

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

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

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

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

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

CVS commit: src/sys

2020-11-03 Thread Chuck Silvers
.c Wed Nov 4 01:30:19 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_aobj.c,v 1.151 2020/08/19 15:36:41 chs Exp $ */ +/* $NetBSD: uvm_aobj.c,v 1.152 2020/11/04 01:30:19 chs Exp $ */ /* * Copyright (c) 1998 Chuck Silvers, Charles D. Cranor and @@ -38,7 +38,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: u

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

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

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

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

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

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

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

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

Re: CVS commit: src/sys/uvm

2020-09-21 Thread Chuck Silvers
On Tue, Sep 22, 2020 at 01:51:33AM +0900, Ryo ONODERA wrote: > Hi, > > It seems that r1.124 of uvm_amap.c causes random userland segfaults > on my NetBSD/amd64. this should be fixed now, could you try again? this was another case of my usual trick "test a change well, modify the change at the

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

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

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

CVS commit: src/sys/uvm

2020-08-19 Thread Chuck Silvers
2020/08/19 15:36:41 chs Exp $ */ /* * Copyright (c) 1998 Chuck Silvers, Charles D. Cranor and @@ -38,7 +38,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uvm_aobj.c,v 1.150 2020/08/19 07:29:00 simonb Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_aobj.c,v 1.151 2020/08/19 1

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

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

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

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

Re: CVS commit: src/sys

2020-08-14 Thread Chuck Silvers
On Sat, Aug 15, 2020 at 01:20:48AM +0900, Ryo ONODERA wrote: > Hi, > > "Chuck Silvers" writes: > > > Module Name:src > > Committed By: chs > > Date: Fri Aug 14 09:06:15 UTC 2020 > > > > Modified Files: > >

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

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

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

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

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

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

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

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

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

Re: CVS commit: src

2020-07-04 Thread Chuck Silvers
no longer relevant? And I > can now include microcode-loader compat code in the appropriate > compat_xx module? > > :) > > > On Sat, 4 Jul 2020, Chuck Silvers wrote: > > > Module Name:src > > Committed By: chs > > Date: S

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

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

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

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

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

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

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

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

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

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

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

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

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

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