Re: [PATCH] wfcqueue: add function for unsynchronized prepend

2013-04-02 Thread Eric Wong
Mathieu Desnoyers wrote: > * Eric Wong (normalper...@yhbt.net) wrote: > > In some situations, it is necessary to prepend a node to a queue. > > For epoll, this is necessary for two rare conditions: > > > > * when the user triggers -EFAULT > > * when reinjecting elements from the ovflist (implemen

Re: [PATCH] wfcqueue: add function for unsynchronized prepend

2013-04-02 Thread Mathieu Desnoyers
* Eric Wong (normalper...@yhbt.net) wrote: > In some situations, it is necessary to prepend a node to a queue. > For epoll, this is necessary for two rare conditions: > > * when the user triggers -EFAULT > * when reinjecting elements from the ovflist (implemented as a stack) This approach makes s