Re: RFC: A revised timerfd API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2007-09-22 at 18:07 +0200, Michael Kerrisk wrote:
> Hello Bernd,
> 
> Please don't trim the CC list when replying!  I nearly did not see
> your reply, and others will have missed it also.

Yup.

> On 9/22/07, Bernd Eckenfels <[email protected]> wrote:
> > In article <[email protected]> you wrote:
> > >  1. This design stretches the POSIX timers API in strange
> > >     ways.
> >
> > Maybe it is possible to reimplement the POSIX API in usermode using the
> > kernel's FD implementation?

Yikes.

> It's a clever idea...  Without thinking on it too long, I'm not sure
> whether or not there might be some details which would make this
> difficult.

You'd need be quite masochistic to start such a project. The POSIX timer
API consists mostly of corner cases and I doubt that you get them even
halfway under control in a pure user space implementation.

It would be a rather huge performance penalty as well. You need at least
two user space context switches to get the most simple cases resolved.

> > (and drop the posix support from kernel)
> 
> However we couldn't drop POSIX support from the kernel, because that
> would break the ABI.

True. So there is no point in reinventing the wheel.

	tglx


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux