Re: sched_lock && thread_lock()



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

_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"