Thread (41 messages) 41 messages, 3 authors, 2016-02-27

Re: [PATCH v5 10/20] kthread: Better support freezable kthread workers

From: Petr Mladek <pmladek@suse.com>
Date: 2016-02-26 15:43:10
Also in: linux-api, lkml

On Thu 2016-02-25 14:01:15, Peter Zijlstra wrote:
On Mon, Feb 22, 2016 at 03:57:00PM +0100, Petr Mladek wrote:
quoted
+enum {
+	KTW_FREEZABLE		= 1 << 2,	/* freeze during suspend */
+};
Weird value; what was wrong with 1 << 0 ?
Heh, the flag was inspired by

	WQ_FREEZABLE		= 1 << 2, /* freeze during suspend */

from include/linux/workqueue.h. But it does not really matter.
I could change it to 1 << 0 if it makes people less curious.

Thanks a lot for review,
Petr

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help