sched_lock && thread_lock()

Attilio Rao attilio at FreeBSD.org
Sat May 26 00:03:15 UTC 2007


Alan Cox wrote:
> Attilio Rao wrote:
> 
>> Attilio Rao wrote:
>>
>>> Bruce Evans wrote:
>>>
>>>> 4 more translation errors breaking 8 counters altogether (v_vnodepgsin
>>>> is broken twice):
>>>
>>>
>>> Thanks a lot for the revision, there will be a pending patch in the 
>>> next hour.
>>
>>
>> Hello,
>> Let me know if this patch is right for you and if you have feedbacks, 
>> comments, etc:
>> http://users.gufi.org/~rookie/works/patches/schedlock/vmmeter3.diff
>>
>> This should fix translation errors Bruce has found and switching the 
>> _SET() method in order to being a simple assignment (as Bruce has 
>> suggested).
> 
> 
> I think there are still translation errors in vnode_pager.c:
> 
> This increment by 1 of cnt.v_vnodepgsin is incorrect:

ok, following the last suggestions I updated the patch. The URL is above.

Thanks,
Attilio



More information about the freebsd-arch mailing list