From: Arjan van de Ven Date: Mon, 4 Feb 2013 22:44:33 +0000 (-0800) Subject: NVMe: Use round_jiffies_relative() for the periodic, once-per-second timer X-Git-Tag: v3.10-rc1~21^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acb7aa0db09b8abd38abeb84334a8a27a52fbb1b;p=pandora-kernel.git NVMe: Use round_jiffies_relative() for the periodic, once-per-second timer The nvme driver has a "once per second" event where the management kthread wakes up the system and then reschedules itself for 1 second later. For power efficiency reasons, I'd like this timer to happen together with other wakeups in the system. This patch makes the schedule_timeout() call in the kthread use round_jiffies_relative(), causing the wakeup to at least align with other "once per X seconds" events in the kernel. Signed-off-by: Arjan van de Ven Tested-by: Keith Busch Signed-off-by: Matthew Wilcox --- Reading git-diff-tree failed