Re: Swapoff inifinite loops on 2.6.10-bk (was: .6.10-bk8 swapoffafter resume)
From: Martin Josefsson
Date: Sat Jan 08 2005 - 11:24:59 EST
On Sat, 2005-01-08 at 16:00 +0000, Hugh Dickins wrote:
> You're right, and yes, I could then reproduce it. Looks like I'd only
> been testing on 3levels (HIGHMEM64G), and this only happens on 2levels.
>
> Patch below, please verify it fixes your problems. And please, could
> someone else check I haven't screwed up swapoff on 4levels (x86_64)?
> From the likeness of the code at all levels I'd expect it to be fine,
> but there's nothing like a real test - thanks...
The patch fixes the problem completely here.
swapoff after running the memory hog works as expected.
and swapoff after suspend to disk and resume also works fine.
Thanks for tracking this down and fixing it.
--
/Martin
Attachment:
signature.asc
Description: This is a digitally signed message part