/* When someone calls kthread_stop() on your kthread, it will be woken and this will return true. You should then return, and your return value will be passed through to kthread_stop().  */
int kthread_should_stop(void)
/* When someone calls kthread_stop() on your kthread, it will be woken and this will return true. You should then return, and your return value will be passed through to kthread_stop().  */
int kthread_should_stop(void)
{
	return to_kthread(current)->should_stop;
}