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

Andrew Morton
2004-07-08T08:21:39Z

Peter Osterlund <petero2@telia.com> wrote:
>
> Nick Piggin <nickpiggin@yahoo.com.au> 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?