public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Shaohua Li <shaohua.li@intel.com>
Cc: lkml <linux-kernel@vger.kernel.org>, Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH]swsusp: drain high mem pages
Date: Thu, 16 Mar 2006 10:11:51 +0100	[thread overview]
Message-ID: <20060316091151.GC1729@elf.ucw.cz> (raw)
In-Reply-To: <1142481202.26706.15.camel@sli10-desk.sh.intel.com>

On Čt 16-03-06 11:53:22, Shaohua Li wrote:
> Highmem could be in pcp list as well.

This explains some strangeness I was seeing before.

OTOH it is nothing but ugly these days, so this is not urgent for 2.6.16.

ACK.
								Pavel

> Signed-off-by: Shaohua Li<shaohua.li@intel.com>
> ---
> 
>  linux-2.6.15-root/kernel/power/snapshot.c |    1 +
>  1 files changed, 1 insertion(+)
> 
> diff -puN kernel/power/snapshot.c~drain_highmem kernel/power/snapshot.c
> --- linux-2.6.15/kernel/power/snapshot.c~drain_highmem	2006-03-14 13:38:16.000000000 +0800
> +++ linux-2.6.15-root/kernel/power/snapshot.c	2006-03-14 14:13:30.000000000 +0800
> @@ -120,6 +120,7 @@ int save_highmem(void)
>  	int res = 0;
>  
>  	pr_debug("swsusp: Saving Highmem\n");
> +	drain_local_pages();
>  	for_each_zone (zone) {
>  		if (is_highmem(zone))
>  			res = save_highmem_zone(zone);
> _
> 

-- 
220: * This program is distributed in the hope that it will be useful,

      reply	other threads:[~2006-03-16  9:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-16  3:53 [PATCH]swsusp: drain high mem pages Shaohua Li
2006-03-16  9:11 ` Pavel Machek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060316091151.GC1729@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shaohua.li@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox