Here is some instrumentation I found useful during my recent debugging.
If there are no objections, I'd like to commit soon.
The change to rf_containsroot() simplifies the second DPRINTF that I added.
Index: rf_netbsdkintf.c
===
RCS
On Sun, Jan 13, 2019 at 08:45:31AM -, Michael van Elst wrote:
> b...@bsd.de (Christoph Badura) writes:
> >> So, assuming 'raid0' has a component 'dk0' which is based on 'wd0', it
> >> should work to specify 'wd0' as bootdev.
>
> >That does work. However, that is besides the point bootdev=rai
mmap(2) may reduce copies between user space and the kernel
compared to write(2). Generally speaking, yes.
But your patch seems to increase memcpy(3) instead of decreasing
write(2) system call.
In audioplay, well, if the audio device is mmapped 1 call to write is
replaced with 1 call to memcpy.
First of all, I know I should have work best on my proposal but I had to
post that now
because I probably wouldn't have time for a while.
Remenber that I did not implement mmap in audio.C, it was there!
I just think that it is better in this case for the kernel to "pull" the
data, Just as it do