On Sun 03-07-16 17:18:29, Oleg Nesterov wrote: [...] > Or perhaps we can change oom_kill_process() to send SIGKILL to kthreads as > well, this should not have any effect unless kthread does allow_signal(SIGKILL), > then we can change vhost_worker() to catch SIGKILL and react somehow. Not sure > this is really possible. But then we would have to check for the signal after every memory access no? This sounds much more error prone than the test being wrapped inside the copy_from... API to me. -- Michal Hocko SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>