Messages in this thread | | | Date | Fri, 07 Jan 2005 11:45:12 -0600 | From | Chris Friesen <> | Subject | Re: Make pipe data structure be a circular list of pages, rather than |
| |
Alan Cox wrote: > On Gwe, 2005-01-07 at 16:17, Linus Torvalds wrote: > >>it a "don't do that then", and I'll wait to see if people do. I can't >>think of anything that cares about performance that does that anyway: >>becuase system calls are reasonably expensive regardless, anybody who >>cares at all about performance will have buffered things up in user space. > > > Actually I found a load of apps that do this but they don't care about > performance. Lots of people have signal handlers that just do > > write(pipe_fd, &signr, sizeof(signr)) > > so they can drop signalled events into their event loops
I would be one of those people, although I do pass the signal information as well.
Chris
- 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/
| |