The patch titled
     Make usb-autosuspend timer 1 sec jiffy aligned
has been added to the -mm tree.  Its filename is
     make-usb-autosuspend-timer-1-sec-jiffy-aligned.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Make usb-autosuspend timer 1 sec jiffy aligned
From: Venki Pallipadi <[EMAIL PROTECTED]>

Make usb autosuspend timers 1sec jiffy aligned.

This helps to reduce the frequency at which the CPU must be taken out of a
lower-power state.

Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]>
Cc: Greg KH <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/usb/core/driver.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN 
drivers/usb/core/driver.c~make-usb-autosuspend-timer-1-sec-jiffy-aligned 
drivers/usb/core/driver.c
--- a/drivers/usb/core/driver.c~make-usb-autosuspend-timer-1-sec-jiffy-aligned
+++ a/drivers/usb/core/driver.c
@@ -982,7 +982,7 @@ static int autosuspend_check(struct usb_
                         * or for the past.
                         */
                        queue_delayed_work(ksuspend_usb_wq, &udev->autosuspend,
-                                       suspend_time - jiffies);
+                               round_jiffies_relative(suspend_time - jiffies));
                        }
                return -EAGAIN;
        }
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

make-usb-autosuspend-timer-1-sec-jiffy-aligned.patch
make-mce-polling-timers-1-sec-jiffy-aligned.patch

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

Reply via email to