daily CVS update output

2019-12-03 Thread NetBSD source update


Updating src tree:
P src/distrib/notes/common/extract-contrib-string.pl
P src/distrib/notes/common/legal.common
P src/distrib/sets/lists/debug/mi
P src/distrib/sets/lists/tests/mi
P src/external/bsd/unbound/dist/util/netevent.c
U src/external/cddl/osnet/dev/dtrace/aarch64/dtrace_asm.S
U src/external/cddl/osnet/dev/dtrace/aarch64/dtrace_isa.c
U src/external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c
U src/external/cddl/osnet/dev/dtrace/aarch64/regset.h
U src/external/cddl/osnet/dev/fbt/aarch64/fbt_isa.c
U src/external/cddl/osnet/dev/fbt/aarch64/fbt_isa.h
P src/external/cddl/osnet/dist/lib/libdtrace/aarch64/dt_isadep.c
P src/external/cddl/osnet/dist/lib/libdtrace/common/dt_link.c
P src/external/cddl/osnet/lib/libdtrace/Makefile
P src/games/fortune/datfiles/fortunes
P src/share/tmac/doc2html
P src/sys/arch/aarch64/aarch64/trap.c
P src/sys/arch/aarch64/include/frame.h
P src/sys/arch/arm/arm/arm_machdep.c
P src/sys/arch/arm/imx/fdt/imx6_spi.c
P src/sys/arch/mips/mips/cpu_subr.c
P src/sys/arch/mips/rmi/rmixl_cpu.c
P src/sys/arch/sh3/sh3/exception.c
P src/sys/arch/sparc/sparc/intr.c
P src/sys/arch/sparc64/sparc64/machdep.c
P src/sys/arch/usermode/dev/cpu.c
P src/sys/arch/x86/x86/bus_space.c
P src/sys/arch/x86/x86/pmap.c
P src/sys/arch/x86/x86/x86_machdep.c
P src/sys/dev/dm/device-mapper.c
P src/sys/dev/dm/dm.h
P src/sys/dev/dm/dm_dev.c
P src/sys/dev/dm/dm_ioctl.c
P src/sys/dev/dm/dm_pdev.c
P src/sys/dev/dm/dm_target.c
P src/sys/dev/dm/dm_target_linear.c
P src/sys/dev/dm/dm_target_snapshot.c
P src/sys/dev/dm/dm_target_stripe.c
P src/sys/dev/dm/netbsd-dm.h
P src/sys/dev/pci/if_kse.c
P src/sys/dev/pci/qat/qat.c
P src/sys/dev/usb/usbnet.c
P src/sys/external/bsd/dwc2/dwc2.c
P src/sys/fs/tmpfs/tmpfs_rename.c
P src/sys/kern/kern_cpu.c
P src/sys/kern/kern_lock.c
P src/sys/kern/kern_lwp.c
P src/sys/kern/kern_runq.c
P src/sys/kern/kern_softint.c
P src/sys/kern/kern_synch.c
P src/sys/kern/subr_pool.c
P src/sys/kern/subr_pserialize.c
P src/sys/modules/cyclic/Makefile
P src/sys/modules/dtrace/Makefile
P src/sys/netinet/sctp_output.c
P src/sys/rump/librump/rumpkern/rump.c
P src/sys/sys/atomic.h
P src/sys/sys/cpu_data.h
P src/sys/sys/module_hook.h
P src/sys/sys/pserialize.h
P src/sys/sys/sched.h
P src/tests/crypto/opencrypto/Makefile
U src/tests/crypto/opencrypto/h_sha2hmac.c
P src/tests/crypto/opencrypto/t_opencrypto.sh
P src/usr.sbin/rtadvd/timer.c

Updating xsrc tree:


Killing core files:



Updating release-7 src tree (netbsd-7):

Updating release-7 xsrc tree (netbsd-7):



Updating release-8 src tree (netbsd-8):

Updating release-8 xsrc tree (netbsd-8):




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  34675497 Dec  4 03:11 ls-lRA.gz


Re: vm.ubc_direct

2019-12-03 Thread Jaromír Doleček
Le mar. 3 déc. 2019 à 18:59, Chuck Silvers  a écrit :

> On Mon, Dec 02, 2019 at 07:10:52PM +, Andrew Doran wrote:
> > Hello,
> >
> > In light of the recent discussion, and having asked Jaromir his thoughts
> on
> > the subject, we both think it's time to enable this by default, so it
> gets
> > wider testing.  Is there a good reason not to?
> >
> > Cheers,
> > Andrew
>
> The current ubc_direct code still has the problem that I pointed out
> originally,
> which is that it deadlocks if you read() or write() a page of a file into
> a mapping of itself.  We should not enable this by default until that
> problem
> is fixed.
>

Right, I completely forgot about this.

I have a small program which triggers the deadlock quite reliably. Never
got around to actually add it into test suite because it caused problems
also on other system I run it on.

Andrew, would you by chance be interested to look at this?

Jaromir


Re: vm.ubc_direct

2019-12-03 Thread Andrew Doran
On Tue, Dec 03, 2019 at 09:58:39AM -0800, Chuck Silvers wrote:

> The current ubc_direct code still has the problem that I pointed out 
> originally,
> which is that it deadlocks if you read() or write() a page of a file into
> a mapping of itself.  We should not enable this by default until that problem
> is fixed.

I didn't know about that.  Agree enabling it would be a bad idea then.

Cheers,
Andrew


Re: vm.ubc_direct

2019-12-03 Thread Chuck Silvers
On Mon, Dec 02, 2019 at 07:10:52PM +, Andrew Doran wrote:
> Hello,
> 
> In light of the recent discussion, and having asked Jaromir his thoughts on
> the subject, we both think it's time to enable this by default, so it gets
> wider testing.  Is there a good reason not to?
> 
> Cheers,
> Andrew

The current ubc_direct code still has the problem that I pointed out originally,
which is that it deadlocks if you read() or write() a page of a file into
a mapping of itself.  We should not enable this by default until that problem
is fixed.

-Chuck