Messages in this thread | | | Date | Mon, 21 Oct 2002 11:07:14 -0700 | From | mingming cao <> | Subject | Re: [PATCH]IPC locks breaking down with RCU |
| |
Hugh Dickins wrote: > > I'm ignorant of RCU, and my mind goes mushy around memory barriers, > but I expect you've consulted the best there; and I'll be wanting to > refer to this implementation as a nice example of how to use RCU.
Yes the RCU patch author Dipankar has already reviewed the memory barriers in ipclock patch.
> Now delete spinlock_t ary and all references to it: only grow_ary > is using it, and it's already protected by sem, and we'd be in > trouble with concurrent allocations if it were not. > Oh, right. grow_ary does not need spinlock_t ary anymore.:-) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |