All of lore.kernel.org
 help / color / mirror / Atom feed
* [Kernel-janitors] Re: [PATCH 2.6.9-rc2 19/33] char/pcxx: replace
@ 2004-09-16 19:54 Christoph Lameter
  2004-09-17  4:38 ` [Kernel-janitors] Re: [PATCH 2.6.9-rc2 11/33] char/i830_irq: Jon Smirl
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: Christoph Lameter @ 2004-09-16 19:54 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: TEXT/PLAIN, Size: 793 bytes --]

Looks fine to me.

On Thu, 16 Sep 2004, Nishanth Aravamudan wrote:

> Any comments would be appreciated.
>
> Description: Use msleep_interruptible() instead of schedule_timeout() to
> guarantee the task delays as expected.
>
> Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
>
> --- 2.6.9-rc1-mm4-vanilla/drivers/char/pcxx.c	2004-09-09 23:05:41.000000000 -0700
> +++ 2.6.9-rc1-mm4/drivers/char/pcxx.c	2004-09-10 11:10:10.000000000 -0700
> @@ -561,8 +561,7 @@ static void pcxe_close(struct tty_struct
>  #endif
>  		if(info->blocked_open) {
>  			if(info->close_delay) {
> -				current->state = TASK_INTERRUPTIBLE;
> -				schedule_timeout(info->close_delay);
> +				msleep_interruptible(jiffies_to_msecs(info->close_delay));
>  			}
>  			wake_up_interruptible(&info->open_wait);
>  		}
>

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

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

end of thread, other threads:[~2004-09-29 17:41 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-16 19:54 [Kernel-janitors] Re: [PATCH 2.6.9-rc2 19/33] char/pcxx: replace Christoph Lameter
2004-09-17  4:38 ` [Kernel-janitors] Re: [PATCH 2.6.9-rc2 11/33] char/i830_irq: Jon Smirl
2004-09-17 16:10 ` Nishanth Aravamudan
2004-09-18 16:46 ` Jon Smirl
2004-09-19  9:39 ` Dave Airlie
2004-09-20 22:11 ` [Kernel-janitors] Re: [PATCH 2.6.9-rc2 17/17] media/zr36120: Nishanth Aravamudan
2004-09-21 21:58 ` [Kernel-janitors] Re: [PATCH 2.6.9-rc2 1/40] net/3c505: replace Phil Blundell
2004-09-21 23:49 ` [Kernel-janitors] Re: [PATCH 2.6.9-rc2 1/2] i2c/i2c-algo-ite: Greg KH
2004-09-27 18:21 ` [Kernel-janitors] Re: [PATCH 2.6.9-rc2 1/16] scsi/53c700: replace James Bottomley
2004-09-27 18:39 ` Nishanth Aravamudan
2004-09-27 19:35 ` [Kernel-janitors] Re: [PATCH 2.6.9-rc2 15/16] scsi/st: replace Kai Makisara
2004-09-27 21:15 ` [Kernel-janitors] Re: [PATCH 2.6.9-rc2 1/6] serial/68328serial: Nishanth Aravamudan
2004-09-27 23:07 ` [Kernel-janitors] Re: [PATCH 2.6.9-rc2 1/4] video/pxafb: replace Nishanth Aravamudan
2004-09-28  1:00 ` [Kernel-janitors] Re: [PATCH 2.6.9-rc2 1/6] serial/68328serial: David McCullough
2004-09-28  3:19 ` [Kernel-janitors] Re: [PATCH 2.6.9-rc2 1/4] w1/dscore: replace Evgeniy Polyakov
2004-09-28  3:25 ` Evgeniy Polyakov
2004-09-29 17:41 ` [Kernel-janitors] Re: [PATCH 2.6.9-rc2 1/4] pci Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.