Miklos Szeredi wrote:Yeap, spurious notifications don't cause any problems. poll/select/epoll can poll on massive number of files. I don't think it's wise to have that many outstanding requests. FUSE currently uses linear list to match replies to requests and libfuse will consume one thread per each poll if implemented like other requests. It can be made asynchronous from libfuse tho. I kind of like the original implementation tho. The f_ops->poll interface is designed to be used like ->poll returning events if available immediately and queue for later notification as necessary. Notification is asynchronous and can be spurious (this actually comes pretty handy for low level implementation). When notified, upper layer queries the same way using ->poll. This is quite convenient for low level implementation as the actual logic of poll can live in ->poll proper while notifications can be scattered around places where events can occur. Thanks. -- tejun --
| David Miller | Re: [PATCH] Stop pmac_zilog from abusing 8250's device numbers. |
| Andrew Morton | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 010/196] Chinese: add translation of Codingstyle |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [GIT]: Networking |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Felix von Leitner | socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0 |
git: | |
