Re: [PATCH 1/2 v2] MMC:Add support MMCIF for SuperH

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Tuesday, April 27, 2010 - 7:17 pm

On Wed, 28 Apr 2010 14:06:08 +0900 Yusuke Goda <yusuke.goda.sx@renesas.com> wrote:


wait_event_interruptible_timeout() will return early with -ERESTARTSYS
if the calling process gets signalled (eg, ^C was hit).

The driver uses wait_event_interruptible_timeout() rather a lot and the
two sites I looked at seem to handle the signal_pending() case
correctly.

But incorrectly handling signals with interruptible waits is a
frequently-occurring error in drivers.  Did you deliberately cater for
this case, and have you runtime tested it?

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/2 v2] MMC:Add support MMCIF for SuperH, Andrew Morton, (Tue Apr 27, 7:17 pm)
[PATCH 1/2 v2] MMC:Add support MMCIF for SuperH, Yusuke Goda, (Tue Apr 27, 10:06 pm)
Re: [PATCH 1/2 v2] MMC:Add support MMCIF for SuperH, Magnus Damm, (Thu Apr 29, 8:51 pm)