Linux: Page Replacement Design

Posted by Scott_Ruecker on Jan 24, 2007 7:51 AM EDT
KernelTrap; By Jeremy Andrews
Mail this story
Print this story

A university student studying operating systems asked about why the Linux kernel uses two chained lists in its LRU (least recently used) page replacement algorithm. Andrea Arcangeli, whose virtual memory subsystem was merged into the 2.4.10 kernel, explained,"back then I designed it with two lru lists because by splitting the active from the inactive cache allows to detect the cache pollution before it starts discarding the working set." He went on to add,"a page in the inactive list will be collected much more quickly than a page in the active list, so the pollution will be collected more quickly than the working set.

Full Story

  Nav
» Read more about: Story Type: Interview; Groups: Kernel, Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.