Messages in this thread | | | Date | Sat, 13 May 2006 18:13:25 +0200 | From | Francois Romieu <> | Subject | Re: [PATCH 4/6] myri10ge - First half of the driver |
| |
Brice Goglin <brice@myri.com> : [...] > > Return in a middle of a spinlock-intensive function. :o( > > > > What do you mean ?
It is preferred for maintenance purpose (hello Mr Morton) to organize the control flow with a single spin_{lock/unlock} pair: if there is a branch in the control flow, it ought to be joined again before returning.
-- Ueimor - 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/
| |