Source-Changes-D archive

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

Re: CVS commit: src



"Juergen Hannken-Illjes" <hannken%netbsd.org@localhost> wrote:
> Module Name:  src
> Committed By: hannken
> Date:         Thu Feb 27 16:51:39 UTC 2014
> 
> <...>
> 
> Log Message:
> The current implementation of vn_lock() is racy.  Modification of
> the vnode operations vector for active vnodes is unsafe because it
> is not known whether deadfs or the original file system will be
> called.
> 
> <...>
> 

I have not had time to follow your VFS changes, but can you explain why did
you remove VOP_LOCK/VOP_UNLOCK in tmpfs_reclaim()?  It was added to prevent
from the racy access of tn_links.

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index