On 14 Jun 2014, at 18:12, Joerg Sonnenberger <jo...@netbsd.org> 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 - hann...@eis.cs.tu-bs.de - TU Braunschweig (Germany)

Reply via email to