On Thu, Jan 03, 2019 at 11:52:07AM +0000, Richard W.M. Jones wrote:
diff --git a/filters/cache/lru.c b/filters/cache/lru.c index 60cf379..2f379d1 100644 --- a/filters/cache/lru.c +++ b/filters/cache/lru.c @@ -69,9 +69,10 @@ * * To do this we keep two bitmaps. * - * When a block is accessed, we set the corresponding bit in bm[0] and - * increment c0 (c0 counts the number of bits set in bm[0]). If c0 == - * N/2 then we swap the two bitmaps, clear bm[0], and reset c0 to 0. + * When a new block is accessed, we set the corresponding bit in bm[0] + * and increment c0 (c0 counts the number of bits set in bm[0]). If + * c0 == N/2 then we swap the two bitmaps, clear bm[0], and reset c0 + * to 0.
Dammit, I screwed up my rebase :-( This should go into the first patch. I'll send a v4 shortly. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/