Messages in this thread | | | Subject | Re: [RFC PATCH] LTTng relay buffer allocation, read, write | From | Peter Zijlstra <> | Date | Sun, 28 Sep 2008 10:59:29 +0200 |
| |
On Sat, 2008-09-27 at 19:10 +0200, Peter Zijlstra wrote: > On Sat, 2008-09-27 at 09:40 -0400, Mathieu Desnoyers wrote:
> > It does not provide _any_ sort of locking on buffer data. Locking should be done > > by the caller. Given that we might think of very lightweight locking schemes,
Which defeats the whole purpose of the exercise, we want to provide a single mechanism - including locking - that is usable to all. Otherwise everybody gets to do the hard part themselves, which will undoubtedly result in many broken/suboptimal locking schemes.
| |