scheduler: domain: init next_balance in nohz_idle_balancer with jiffies
authorDiwakar Tundlam <dtundlam@nvidia.com>
Thu, 19 Jan 2012 02:58:57 +0000 (18:58 -0800)
committerVarun Colbert <vcolbert@nvidia.com>
Mon, 30 Jan 2012 19:46:41 +0000 (11:46 -0800)
commitd407746008e167f8d125dc6e12040a553e90f96d
treeb97d7156bdc37bfc50a4f1591078ac35957104ec
parent48878f4cded627ef80da192736b3103704e903a1
scheduler: domain: init next_balance in nohz_idle_balancer with jiffies

Bug 878165

The next_balance parameter of nohz_idle_balancer should be initialized
to jiffies since jiffies itself is initialized to 300 seconds shy of
overflow. Otherwise, nohz_idle_balancer does not run for the first 5
mins after bootup.

Change-Id: I18334451f394ead8ddad3b94d725635a31e0173b
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77300
Reviewed-by: Automatic_Commit_Validation_User
kernel/sched.c