Re: swsusp intermittent failures in 2.6.15-rc3-mm1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 02, 2005 at 11:54:43PM +0100, Rafael J. Wysocki wrote:
> Could you please apply the appended one and see if it fixes the issue?
> It's on top of the previous one.
> 
> It's been compile-tested, but I have no machine with highmem to really
> test it.
> 
> --- linux-2.6.15-rc3-mm1.orig/kernel/power/snapshot.c	2005-12-02 22:02:50.000000000 +0100
> +++ linux-2.6.15-rc3-mm1/kernel/power/snapshot.c	2005-12-02 23:45:13.000000000 +0100
> @@ -37,6 +37,12 @@
>  unsigned int nr_copy_pages;
>  
>  #ifdef CONFIG_HIGHMEM
> +struct highmem_page {
> +	char *data;
> +	struct page *page;
> +	struct highmem_page *next;
> +};
[snip]

Yep, this seems to fix the memory allocation failures at suspend.

Thanks!

(I have another separate issue with (I think) your swsusp changes, but
I'll start a new thread for it rather than extending this one.)

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux