Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



On 14 Jun 2014, at 18:12, Joerg Sonnenberger <joerg%netbsd.org@localhost> wrote:

> Module Name:  src
> Committed By: joerg
> Date:         Sat Jun 14 16:12:34 UTC 2014
> 
> Modified Files:
>       src/sys/kern: vfs_cache.c
> 
> Log Message:
> Make the stat mutex a leaf. XXX Use atomic counters.

This cannot work.

We now run cache_lookup_entry() without a cpu_lock and without
namecache_lock so the list may change while it gets traversed.

See the comment on top of cache_lookup_entry().

Please revert your changes to vfs_cache.c.

--
J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig 
(Germany)



Home | Main Index | Thread Index | Old Index