[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190225.094038.1156384775297802527.davem@davemloft.net>
Date: Mon, 25 Feb 2019 09:40:38 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: lesliemonis@...il.com
Cc: jhs@...atatu.com, netdev@...r.kernel.org, dave@...t.net,
tahiliani@...k.edu.in, dhavaljkhandla26@...il.com,
hrishihiraskar@...il.com, bmanish15597@...il.com,
sdp.sachin@...il.com
Subject: Re: [PATCH net-next v2 5/7] net: sched: pie: add more cases to
auto-tune alpha and beta
From: Leslie Monis <lesliemonis@...il.com>
Date: Mon, 25 Feb 2019 15:50:49 +0530
> + power = 100;
> + while (q->vars.prob < MAX_PROB / (u64)power &&
You have to use div_u64() or similar when doing 64-bit divisons otherwise
you'll get build failures on 32-bit platforms.
Powered by blists - more mailing lists