mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* w1_therm_read_bin: suspicious usage of flush_signals()
@ 2007-06-14 17:24 Oleg Nesterov
  2007-06-15  4:28 ` Evgeniy Polyakov
  0 siblings, 1 reply; 4+ messages in thread
From: Oleg Nesterov @ 2007-06-14 17:24 UTC (permalink / raw)
  To: Evgeniy Polyakov
  Cc: Andrew Morton, Benjamin Herrenschmidt, Roland McGrath, linux-kernel

drivers/w1/slaves/w1_therm.c:w1_therm_read_bin()

	while (tm) {
		tm = msleep_interruptible(tm);
		if (signal_pending(current))
			flush_signals(current);
	}

current is user-space task, yes?

this looks just wrong, could you please explain?

Oleg.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-15  5:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-14 17:24 w1_therm_read_bin: suspicious usage of flush_signals() Oleg Nesterov
2007-06-15  4:28 ` Evgeniy Polyakov
2007-06-15  5:10   ` Roland McGrath
2007-06-15  5:52     ` Evgeniy Polyakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®