Re: [PATCH] w1: w1_process() is not freezable kthread

From: Evgeniy Polyakov
Date: Tue Oct 27 2015 - 10:39:42 EST


Hi

26.10.2015, 08:53, "Jiri Kosina" <jikos@xxxxxxxxxx>:
> From: Jiri Kosina <jkosina@xxxxxxx>
>
> w1_process() calls try_to_freeze(), but the thread doesn't mark itself
> freezable through set_freezable(), so the try_to_freeze() call is useless.

I believe it is better to mark it freezable, what do you think?
Its task is useless if anyone else goes sleeping, it should freeze too.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/