Re: [PATCH 6/9] clockpro-clockpro.patch

Peter Zijlstra
2005-12-31T11:29:06Z

Forgot one in the previous mail.

On Fri, 2005-12-30 at 22:24 -0200, Marcelo Tosatti wrote:
> Please make it easier for others to understand why the hands
> swap, and when, and why.

Its not the hands that swap, its the lists. The hands will lap each
other, like the minute hand will lap the hour hand every ~65 minutes.

Let me try some ascii art.

====
^---<>---v
====

'=' a page
'^---<' hand cold
'>---v' hand hot

now let hand cold move 4 pages:

^---<>---v
========

ie. hand hot and hand cold have the same position.
now if we want to move hand cold one more position this happens:

=======
^---<>---v
=

see the swap?
--
Peter Zijlstra <a.p.zijlstra@chello.nl>