Jason Baron <jbaron@xxxxxxxxxx> wrote: > In addition, Eric Wong has proposed a scheme using 'wait free queues' to > improve lock contention between wakeups and event gathering: > https://lkml.org/lkml/2013/3/14/14. Thanks for bringing this up again. wfcqueue for epoll is still on hold until I take care of other problems in userspace. I'd welcome other interested folks to help get it into shape again. > In addition, we've observed some short comings from our production systems. > Because wait queues are woken up in order, we can get unfair loading > across threads, Are you referring to LIFO scheduling of epoll_wait calling __add_wait_queue_exclusive? I always thought LIFO was preferable since it kept the same threads active to reduce cache misses. > and we can also receive unecessary wakeups. It would be > great to discuss these topics further. I'm happy to discuss via email; but I don't travel well. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html