Sébastien Dugué wrote:Never mind.. got it.AIO completion signal notificationHuh ?? I thought user can set SIGEV_SIGNAL or SIGEV_THREAD_ID.
+
+ /* Release task ref */
+ if (req->ki_notify.notify == (SIGEV_SIGNAL|SIGEV_THREAD_ID))
+ put_task_struct(req->ki_notify.target);
+
Not both. Isn't it ? Shouldn't this be ?
if ((req->ki_notify.notify == SIGEV_SIGNAL) || (req->ki_notify.notify == SIGEV_THREAD_ID))
...