Messages in this thread | | | From | Andi Kleen <> | Subject | Re: [PATCH 04/11] ipc: move locking out of ipcctl_pre_down_nolock | Date | Thu, 16 May 2013 10:55:28 -0700 |
| |
Davidlohr Bueso <davidlohr.bueso@hp.com> writes:
> This function currently acquires both the rw_mutex and the rcu lock on > successful lookups, leaving the callers to explicitly unlock them, creating > another two level locking situation.
Note that the rcu read lock is not a real lock, so it doesn't have the usual ordering problems.
-Andi
-- ak@linux.intel.com -- Speaking for myself only
| |