Thread (1 message) 1 message, 1 author, 2011-09-07
STALE5478d

[PATCH 0/1] freezer: fix wait_event_freezable/__thaw_task races

From: Oleg Nesterov <oleg@redhat.com>
Date: 2011-09-07 18:21:56

Hi,

On 09/07, Tejun Heo wrote:
quoted
I meant, unless the caller plays with allow_signal(), it has all rights to do

	if (wait_event_freezable(...))
		BUG();

This becomes correct with the code above.
Yeap, sure, w/ freezable_with_signal gone, the above should work fine.
Care to create a patch?
Sure.

But. Tejun, Rafael, I have to rely on your review. I have no idea how
can I test this change. Hopfully it is simple enough, though.

And. wait_event_freezable_timeout() obviously has another problem,
although I hope this is fine. The caller can spend a lot of time in
refrigerator, shouldn't we update "timeout" in this case? I hope we
shouldn't.

Oleg.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help