Re: [patch 14/22] pollfs: pollable futex

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ulrich Drepper
Date: Sunday, May 6, 2007 - 10:46 pm

On 5/6/07, Andrew Morton <akpm@linux-foundation.org> wrote:

One more thing: recently in a network-related discussion with DaveM
et.al. we came across a situation where we want events from the
kernel.  The requirement is for fast event notification (or
non-blocking polling) and the event is only implicitly needed.  Having
a file descriptor open is not an option.  The possibilities are

- open a file in /proc or /sys or a socket for every call to te
function to check for events

- have a memory-mapped interface like kevent which does not keep file
descriptors open

File descriptions are problematic when it comes implicitly uses in the
runtime.  This is, for instance, why we have MAP_ANON instead of
keeping a /dev/null file descriptor open all the time.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 14/22] pollfs: pollable futex, Davi Arnaut, (Tue May 1, 10:22 pm)
Re: [patch 14/22] pollfs: pollable futex, Eric Dumazet, (Tue May 1, 10:54 pm)
Re: [patch 14/22] pollfs: pollable futex, Davi Arnaut, (Tue May 1, 11:16 pm)
Re: [patch 14/22] pollfs: pollable futex, Eric Dumazet, (Tue May 1, 11:39 pm)
Re: [patch 14/22] pollfs: pollable futex, Davi Arnaut, (Tue May 1, 11:54 pm)
Re: [patch 14/22] pollfs: pollable futex, Davi Arnaut, (Wed May 2, 12:11 am)
Re: [patch 14/22] pollfs: pollable futex, Ulrich Drepper, (Wed May 2, 12:40 am)
Re: [patch 14/22] pollfs: pollable futex, Eric Dumazet, (Wed May 2, 12:55 am)
Re: [patch 14/22] pollfs: pollable futex, Ulrich Drepper, (Wed May 2, 1:08 am)
Re: [patch 14/22] pollfs: pollable futex, Eric Dumazet, (Wed May 2, 1:49 am)
Re: [patch 14/22] pollfs: pollable futex, Davi Arnaut, (Wed May 2, 5:20 am)
Re: [patch 14/22] pollfs: pollable futex, Davi Arnaut, (Wed May 2, 5:39 am)
Re: [patch 14/22] pollfs: pollable futex, Ulrich Drepper, (Wed May 2, 9:39 am)
Re: [patch 14/22] pollfs: pollable futex, Ulrich Drepper, (Wed May 2, 9:46 am)
Re: [patch 14/22] pollfs: pollable futex, Davi Arnaut, (Wed May 2, 9:59 am)
Re: [patch 14/22] pollfs: pollable futex, Davi Arnaut, (Wed May 2, 10:05 am)
Re: [patch 14/22] pollfs: pollable futex, Ulrich Drepper, (Wed May 2, 10:10 am)
Re: [patch 14/22] pollfs: pollable futex, Davide Libenzi, (Wed May 2, 10:29 am)
Re: [patch 14/22] pollfs: pollable futex, Davi Arnaut, (Wed May 2, 10:37 am)
Re: [patch 14/22] pollfs: pollable futex, Ulrich Drepper, (Wed May 2, 10:49 am)
Re: [patch 14/22] pollfs: pollable futex, Ulrich Drepper, (Wed May 2, 10:53 am)
Re: [patch 14/22] pollfs: pollable futex, Davi Arnaut, (Wed May 2, 11:05 am)
Re: [patch 14/22] pollfs: pollable futex, Davide Libenzi, (Wed May 2, 11:21 am)
Re: [patch 14/22] pollfs: pollable futex, Ulrich Drepper, (Thu May 3, 6:40 am)
Re: [patch 14/22] pollfs: pollable futex, Ulrich Drepper, (Thu May 3, 6:46 am)
Re: [patch 14/22] pollfs: pollable futex, Davide Libenzi, (Thu May 3, 11:24 am)
Re: [patch 14/22] pollfs: pollable futex, Ulrich Drepper, (Thu May 3, 12:03 pm)
Re: [patch 14/22] pollfs: pollable futex, Davide Libenzi, (Thu May 3, 3:14 pm)
Re: [patch 14/22] pollfs: pollable futex, Ulrich Drepper, (Fri May 4, 8:28 am)
Re: [patch 14/22] pollfs: pollable futex, Davide Libenzi, (Fri May 4, 12:15 pm)
2.6.20.4 / 2.6.21.1 AT91SAM9260-EK oops, Ryan Ordway, (Fri May 4, 12:20 pm)
Re: [patch 14/22] pollfs: pollable futex, Ulrich Drepper, (Fri May 4, 4:38 pm)
Re: [patch 14/22] pollfs: pollable futex, Davide Libenzi, (Sat May 5, 11:54 am)
Re: [patch 14/22] pollfs: pollable futex, Ulrich Drepper, (Sun May 6, 12:50 am)
Re: [patch 14/22] pollfs: pollable futex, Davide Libenzi, (Sun May 6, 12:47 pm)
Re: [patch 14/22] pollfs: pollable futex, Andrew Morton, (Sun May 6, 12:54 pm)
Re: [patch 14/22] pollfs: pollable futex, Davide Libenzi, (Sun May 6, 1:18 pm)
Re: [patch 14/22] pollfs: pollable futex, Davi Arnaut, (Sun May 6, 2:57 pm)
Re: [patch 14/22] pollfs: pollable futex, Ulrich Drepper, (Sun May 6, 10:33 pm)
Re: [patch 14/22] pollfs: pollable futex, Ulrich Drepper, (Sun May 6, 10:46 pm)