Re: Can't make use of swap memory in 2.6.7-bk19

From: Andrew Morton
Date: Thu Jul 08 2004 - 03:22:42 EST


Peter Osterlund <petero2@xxxxxxxxx> wrote:
>
> Nick Piggin <nickpiggin@xxxxxxxxxxxx> writes:
>
> > Peter Osterlund wrote:
> > > I created a test program that allocates a 300MB buffer and writes to
> > > all bytes sequentially. On my computer, which has 256MB RAM and 512MB
> > > swap, the program gets OOM killed after dirtying about 140-180MB, and
> > > the kernel reports:
> > >
> >
> > Someone hand me a paper bag... Peter, can you give this patch a try?
>
> Doesn't help. My test program still fails in the same way.
>

Something odd is happening - I've run that testcase in various shapes and
forms a huge number of times.

What filesystems are in use? Is there anything unusual about the setup?
Do earlier 2.6 kernels exhibit the same problem? Is something wrong with
the disk system?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/