mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* How kernel applies LRU to swap out physical pages?
@ 2008-11-11  8:22 Pan ruochen
  2008-11-11  8:57 ` Peter Zijlstra
  2008-11-11  8:58 ` KOSAKI Motohiro
  0 siblings, 2 replies; 6+ messages in thread
From: Pan ruochen @ 2008-11-11  8:22 UTC (permalink / raw)
  To: linux-kernel

Hi All,
I'm reading the linux kernel 2.6.14. But can't understand how LRU algorithm
is applied to page swapping. what is the 'USED' of LRU referred to? The
reference counter which the page is mapped by processes, or the frequency that
CPU reads/writes in the page. In common sense, the LRU algorithm will be more
optimal for the second case. But it depends on CPU capability.
I will be very appreciated if somebody can explain that in details.

-------------
Best Regards,
PRC
Nov 11, 2008

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-11-12  1:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-11  8:22 How kernel applies LRU to swap out physical pages? Pan ruochen
2008-11-11  8:57 ` Peter Zijlstra
2008-11-11  9:56   ` KOSAKI Motohiro
2008-11-11 11:33     ` Peter Zijlstra
2008-11-12  1:36       ` Pan ruochen
2008-11-11  8:58 ` KOSAKI Motohiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®