[lkml]   [2001]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Break 2.4 VM in five easy steps

On Wed, 6 Jun 2001, Andrew Morton wrote:

> "Jeffrey W. Baker" wrote:
> >
> > Because the 2.4 VM is so broken, and
> > because my machines are frequently deeply swapped,
> The swapoff algorithms in 2.2 and 2.4 are basically identical.
> The problem *appears* worse in 2.4 because it uses lots
> more swap.
> > they can sometimes take over 30 minutes to shutdown.
> Yes. The sys_swapoff() system call can take many minutes
> of CPU time. It basically does:
> for (each page in swap device) {
> for (each process) {
> for (each page used by this process)
> stuff

Sure, and at shutdown time when swapoff is called, there is only 1
process, init, which isn't swapped out anymore. So this should run like

Repeat: something is horribly wrong with the VM's management of pages,
lists, swap, cache, etc.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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