[lkml]   [1996]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: memory crash

> this. When a process is allocated memory, the initial memory comes from
> a pool of shared zero-filled pages. These pages don't actually get
> owned by a specific process until a process actually writes to one.

So does linux

> because real memory is getting scarce. At this time, the modified page
> writer copies the oldest and least-used pages to disk. The real memory,
> thus freed, is then zero-filled and put back into the pool. This process
> continues.

This is the wrong answer - it should be least regularly use

> time, are swapped out entirely except for the process header. This
> frees more memory.

See the kernel kswapd threads too


 \ /
  Last update: 2005-03-22 13:38    [W:0.059 / U:0.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site