[mpls-linux-devel] Re: Here it comes... big patch for 2.6.1-mpls-1.910 pre series
Status: Beta
Brought to you by:
jleu
|
From: Ramon C. <cas...@in...> - 2004-01-30 22:22:06
|
Re,
What I meant is to do somthing similar to neighbour management, where A.K.
uses a tbl lock and then a per neighbour lock:
"Neighbour hash table buckets are protected with rwlock tbl->lock.
....
Neighbour entries are protected:
- with reference count.
- with rwlock neigh->lock
Reference count prevents destruction.
neigh->lock mainly serializes ll address data and its validity state.
However, the same lock is used to protect another entry fields:
- timer
- resolution queue
"
but well, maybe you are right...
R.
|