pkarashchenko commented on code in PR #8900:
URL: https://github.com/apache/nuttx/pull/8900#discussion_r1148353771


##########
sched/paging/pg_miss.c:
##########
@@ -179,7 +179,7 @@ void pg_miss(void)
   if (!g_pftcb)
     {
       pginfo("Signaling worker. PID: %d\n", g_pgworker);
-      nxsig_kill(g_pgworker, SIGWORK);
+      nxsig_kill(g_pgworker, SIGIO);

Review Comment:
   Or maybe we can add call sequence similar to `sighold` for kernel task. 
Something like
   ```
   sigemptyset(&set);
   sigaddset(&set, SIGIO);
   sigprocmask(SIG_SETMASK, &set, NULL);
   ```
   For page worker



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to