Re: Some highmem pages still in use after shrink_all_memory()?

From: Andrew Morton
Date: Sun Mar 07 2004 - 19:45:38 EST


Pavel Machek <pavel@xxxxxx> wrote:
>
> Hi!
>
> For swsusp, I need to free as much memory as possible. Well, and it
> would be great if no highmem pages remained, so that I would not have
> to deal with that. Is that possible?

No, it isn't. There are pagetable pages and mlocked user pages which we
cannot do anything with.

We could perhaps swap out the mlocked pages anyway if a suspend is in
progress, but the highmem pagetable pages are not presently reclaimed
by the VM.

-
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/