1 Nov 2011 01:40
RE: Question about a corner case in the CMA
> If a user tried to join a multicast group and the variable "mc" is being added > to the list of the mc_list: > 1) If the write() fails, the value of mc->next may be changed by another > thread (for example, removing the mcast which is pointed by mc->next) > will the "mc->next" still point to the right location? (since i don't see > any "volatile" or something like this). This shouldn't matter. On a failure, the code searches the mc_list for the entry and removes it. mc->next can change between entering the mc entry and removing it. - Sean -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@... More majordomo info at http://vger.kernel.org/majordomo-info.html
RSS Feed