Re: [PATCH 1/4] eventfd: introduce eventfd_signal_hangup()

2013-02-06 Thread Kirill A. Shutemov
On Wed, Feb 06, 2013 at 09:48:20AM +0800, Li Zefan wrote: > On 2013/2/5 16:28, Kirill A. Shutemov wrote: > > On Tue, Feb 05, 2013 at 11:40:50AM +0800, Li Zefan wrote: > >> On 2013/2/4 18:15, Kirill A. Shutemov wrote: > >>> On Sat, Feb 02, 2013 at 05:58:58PM +0200, Kirill A. Shutemov wrote: > O

Re: [PATCH 1/4] eventfd: introduce eventfd_signal_hangup()

2013-02-05 Thread Li Zefan
On 2013/2/5 16:28, Kirill A. Shutemov wrote: > On Tue, Feb 05, 2013 at 11:40:50AM +0800, Li Zefan wrote: >> On 2013/2/4 18:15, Kirill A. Shutemov wrote: >>> On Sat, Feb 02, 2013 at 05:58:58PM +0200, Kirill A. Shutemov wrote: On Sat, Feb 02, 2013 at 02:50:44PM +0800, Li Zefan wrote: > When

Re: [PATCH 1/4] eventfd: introduce eventfd_signal_hangup()

2013-02-05 Thread Kirill A. Shutemov
On Tue, Feb 05, 2013 at 11:40:50AM +0800, Li Zefan wrote: > On 2013/2/4 18:15, Kirill A. Shutemov wrote: > > On Sat, Feb 02, 2013 at 05:58:58PM +0200, Kirill A. Shutemov wrote: > >> On Sat, Feb 02, 2013 at 02:50:44PM +0800, Li Zefan wrote: > >>> When an eventfd is closed, a wakeup with POLLHUP will

Re: [PATCH 1/4] eventfd: introduce eventfd_signal_hangup()

2013-02-04 Thread Li Zefan
On 2013/2/4 18:15, Kirill A. Shutemov wrote: > On Sat, Feb 02, 2013 at 05:58:58PM +0200, Kirill A. Shutemov wrote: >> On Sat, Feb 02, 2013 at 02:50:44PM +0800, Li Zefan wrote: >>> When an eventfd is closed, a wakeup with POLLHUP will be issued, >>> but cgroup wants to issue wakeup explicitly, so wh

Re: [PATCH 1/4] eventfd: introduce eventfd_signal_hangup()

2013-02-04 Thread Kirill A. Shutemov
On Sat, Feb 02, 2013 at 05:58:58PM +0200, Kirill A. Shutemov wrote: > On Sat, Feb 02, 2013 at 02:50:44PM +0800, Li Zefan wrote: > > When an eventfd is closed, a wakeup with POLLHUP will be issued, > > but cgroup wants to issue wakeup explicitly, so when a cgroup is > > removed userspace can be noti

Re: [PATCH 1/4] eventfd: introduce eventfd_signal_hangup()

2013-02-02 Thread Kirill A. Shutemov
On Sat, Feb 02, 2013 at 02:50:44PM +0800, Li Zefan wrote: > When an eventfd is closed, a wakeup with POLLHUP will be issued, > but cgroup wants to issue wakeup explicitly, so when a cgroup is > removed userspace can be notified. > > Signed-off-by: Li Zefan Acked-by: Kirill A. Shutemov -- Kir