[lkml]   [2006]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [take25 1/6] kevent: Description.
Hans Henrik Happe wrote:
> I don't know if this falls under the simplification, but wouldn't there be a
> race when reading/copying the event data? I guess this could be solved with
> an extra user index.

That's what I said, reading the value from the ring buffer structure's
head would be racy. All this can only work for single threaded code.

➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-11-23 23:39    [W:0.100 / U:5.104 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site