The patch titled AIO: comment aio_setup_sigevent() explaining why there is no task ref leak has been added to the -mm tree. Its filename is aio-completion-signal-notification-fix.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: AIO: comment aio_setup_sigevent() explaining why there is no task ref leak From: Sebastien Dugueé <sebastien.dugue@xxxxxxxx> Add a comment explaining why there is no task ref leak in aio_setup_sigevent(). Signed-off-by: Sebastien Dugueé <sebastien.dugue@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/aio.c | 5 +++++ 1 file changed, 5 insertions(+) diff -puN fs/aio.c~aio-completion-signal-notification-fix fs/aio.c --- a/fs/aio.c~aio-completion-signal-notification-fix +++ a/fs/aio.c @@ -986,6 +986,11 @@ static long aio_setup_sigevent(struct ai */ notify->sigq = sigqueue_alloc(); + /* + * The task ref will be released in really_put_req() + * when we dispose of the iocb later on in the submission + * path. + */ if (unlikely(!notify->sigq)) return -EAGAIN; _ Patches currently in -mm which might be from sebastien.dugue@xxxxxxxx are rework-compat_sys_io_submit.patch fix-aioh-includes.patch make-good_sigevent-non-static.patch aio-completion-signal-notification.patch aio-completion-signal-notification-fix.patch add-listio-syscall-support.patch add-listio-syscall-support-fix.patch add-listio-syscall-support-fix-2.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html