sched_lock && thread_lock()

Alan Cox alc at cs.rice.edu
Fri May 25 06:57:11 UTC 2007


Attilio Rao wrote:

>
> Ok, I've updated the patch following your suggestion.
> I just left out that vmmeter fields which needs to be incremented not 
> by one but by another value (since PCPU_LAZY_INC() just increments by 1).
>
> Do you think it is more appropriate to expand the PCPU_LAZY_*() 
> interface and let it cover increments not by 1 too?
>

Yes, but let's do that in a later patch, not this one.

Alan



More information about the freebsd-arch mailing list