NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PR/38792 CVS commit: src/sys
Andrew Doran <ad%NetBSD.org@localhost> wrote:
> >
> > To generate a diff of this commit:
> > cvs rdiff -u -r1.280 -r1.281 src/sys/kern/kern_synch.c
> > cvs rdiff -u -r1.71 -r1.72 src/sys/sys/sched.h
> > cvs rdiff -u -r1.162 -r1.163 src/sys/uvm/uvm_extern.h
> > cvs rdiff -u -r1.144 -r1.145 src/sys/uvm/uvm_glue.c
> > cvs rdiff -u -r1.51 -r1.52 src/sys/uvm/uvm_meter.c
> >
> > Please note that diffs are not public domain; they are subject to the
> > copyright notices on the relevant files.
>
> Is kernel_lock now held across sched_pstats, as a result of running in lwp0?
> It may have been acquired in configure() / configure2()?
>
Good point. Checked - it is not held. It seems that all init sequence,
configure() and configure2() are running without kernel lock held. Lower
layers possibly take/release it, but curlwp::l_blcnt is zero in the end.
--
Mindaugas
Home |
Main Index |
Thread Index |
Old Index