Re: 2.6.10-rc1-mm4 -1 EAGAIN after allocation failure was: Re: Kernel2.6.9 Multiple Page Allocation Failures

From: Nick Piggin
Date: Wed Nov 10 2004 - 20:25:15 EST

Stefan Schmidt wrote:

On Wed, Nov 10, 2004 at 06:58:31AM -0200, Marcelo Tosatti wrote:

Can you try the following patch, please? It is diffed against 2.6.10-rc1,

I did. No apparent change with mm4 and vm.min_free_kbytes = 8192. I will try
latest bk next.

I set it back to CONFIG_PACKET_MMAP=y and if the application does not freeze
for some hours at this load we can blame at least this issue (-1 EAGAIN) on
that parameter.

Nope, that didn't change anything, still getting EAGAIN, checked two times.

Its not clear to me - do you have Nick's watermark patch in?

Yes i have vm.min_free_kbytes=8192 and Nick's patch in mm4. I'll try
rc1-bk19 with his restore-atomic-buffer patch in a few minutes.

You'll actually want to increase min_free_kbytes in order to have the same
amount of memory free as 2.6.8 did.

Start by applying my patch and using the default min_free_kbytes. Then increase
it until the page allocation failures stop, and let us know what the end result

BTW we should probably have a message in the page allocation failure path
to tell people to try increasing /proc/sys/vm/min_free_kbytes...

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