Re: [RFC 6/8] GRUB accounting

From: Luca Abeni
Date: Fri Jan 15 2016 - 03:05:32 EST


On 01/14/2016 08:50 PM, Peter Zijlstra wrote:
On Thu, Jan 14, 2016 at 04:24:51PM +0100, Luca Abeni wrote:


It would be good to have a really short recap of GRUB in a comment right
about here...
Ok; I'll add it


Thanks,
Luca


+u64 grub_reclaim(u64 delta, struct rq *rq, u64 u)
+{
+ return (delta * rq->dl.running_bw) >> 20;
+}