- hid-read-busywait-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     HID read busywait fix

has been removed from the -mm tree.  Its filename is

     hid-read-busywait-fix.patch

This patch was probably dropped from -mm because
it has now been merged into a subsystem tree or
into Linus's tree, or because it was folded into
its parent patch in the -mm tree.

------------------------------------------------------
Subject: HID read busywait fix
From: "Micon, David" <DMicon@xxxxxxxxx>


Make a read of a HID device block until data is available.  Without it, the
read goes into a busy-wait loop until data is available.

Cc: Greg KH <greg@xxxxxxxxx>
Acked-by: Vojtech Pavlik <vojtech@xxxxxxx>
Cc: Dmitry Torokhov <dtor_core@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/usb/input/hiddev.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN drivers/usb/input/hiddev.c~hid-read-busywait-fix drivers/usb/input/hiddev.c
--- devel/drivers/usb/input/hiddev.c~hid-read-busywait-fix	2006-05-20 14:59:34.000000000 -0700
+++ devel-akpm/drivers/usb/input/hiddev.c	2006-05-20 14:59:34.000000000 -0700
@@ -317,6 +317,7 @@ static ssize_t hiddev_read(struct file *
 				}
 
 				schedule();
+				set_current_state(TASK_INTERRUPTIBLE);
 			}
 
 			set_current_state(TASK_RUNNING);
_

Patches currently in -mm which might be from DMicon@xxxxxxxxx are

origin.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux