kernel/kernel/sched/psi.c
.. .. @@ -1225,10 +1225,11 @@ 1225 1225 1226 1226 group = t->group; 1227 1227 /* 1228 - * Wakeup waiters to stop polling. Can happen if cgroup is deleted1229 - * from under a polling process.1228 + * Wakeup waiters to stop polling and clear the queue to prevent it from1229 + * being accessed later. Can happen if cgroup is deleted from under a1230 + * polling process.1230 1231 */ 1231 - wake_up_interruptible(&t->event_wait);1232 + wake_up_pollfree(&t->event_wait);1232 1233 1233 1234 mutex_lock(&group->trigger_lock); 1234 1235