[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080831142820.40029b56@infradead.org>
Date: Sun, 31 Aug 2008 14:28:20 -0700
From: Arjan van de Ven <arjan@...radead.org>
To: Davide Libenzi <davidel@...ilserver.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
tglx@...x.de, Ingo Molnar <mingo@...e.hu>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Arnd Bergmann <arnd@...db.de>
Subject: Re: [patch v2 0/5] Nano/Microsecond resolution for select() and
poll()
On Sun, 31 Aug 2008 14:13:45 -0700 (PDT)
Davide Libenzi <davidel@...ilserver.org> wrote:
> On Sun, 31 Aug 2008, Arjan van de Ven wrote:
>
> > Note:
> > even though poll() (as opposed to ppoll()) only accepts milliseconds
> > as userspace interface, the behavior will still improve because the
> > current time no longer needs to be rounded up to the next jiffie,
> > so on average a 500 microseconds behavior improvement.
>
> Another way to get down in the timeout resolution for newer kernels,
> and still supporting the syscalls with millisec timeouts, is to use
> timerfds.
perhaps, but once you have to change the app you can also make it use
ppoll() rather than poll().. that's a VERY minute change.
--
If you want to reach me at my work email, use arjan@...ux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists