public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Linux PM <linux-pm@osdl.org>
Subject: Re: [RFC/RFT][PATCH 0/2] swsusp: improve freeing of memory
Date: Wed, 9 Nov 2005 22:04:02 +0100	[thread overview]
Message-ID: <20051109210402.GA12461@elf.ucw.cz> (raw)
In-Reply-To: <20051109143040.GA1852@elf.ucw.cz>

[-- Attachment #1: Type: text/plain, Size: 1353 bytes --]

Hi!

> > The patches are on top of 2.6.14-mm1 with the three additional patches of mine
> > that went to Andrew after 2.6.14-mm1.  For your convenience the whole
> > series of patches is available at:
> > 
> > http://www.sisk.pl/kernel/patches/2.6.14-mm1/
> > 
> > as:
> > 
> > swsusp-reduce-code-duplication.patch
> > swsusp-improve-relocation.patch
> > swsusp-rework-swsusp_suspend.patch
> > swsusp-introduce-swap-map.patch
> > swsusp-improve-freeing-memory.patch
> 
> I got
> 
>   CC      kernel/power/snapshot.o
...
> kernel/power/snapshot.c:49: error: for each function it appears in.)
> 
> I tried turning off HIGMEM, that got me rid of snapshot.c:49
> problem. I killed nr_copy_pages from power.h. I tried suspending
> twice, and it seems to work okay. I guess they are ready for lkml
> testing...

I put it under a bit heavier test (attached), and it survive for a
hour. Looks good.

								Pavel
#!/bin/bash
SW3=false
if $SW3 ; then
    swapoff /dev/hda1
    cat /dev/zero | head -c 4096 > /dev/hda1
else
    swapon -a
    echo -n reboot > /sys/power/disk
fi


(
    while true ; do
	echo "Suspending machine" 
	if $SW3; then
	    /tmp/swsusp /dev/hda1 -s -b
	else
	    echo -n disk > /sys/power/state
	fi

	sleep 30
	done
) &
cd /data/l
cp -a linux-good linux-fscktest
cd /data/l/linux-fscktest
make clean
time make -j 10

-- 
Thanks, Sharp!

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2005-11-09 21:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-08 22:55 [RFC/RFT][PATCH 0/2] swsusp: improve freeing of memory Rafael J. Wysocki
2005-11-08 23:06 ` [RFC/RFT][PATCH 1/2] swsusp: introduce the swap map structure Rafael J. Wysocki
2005-11-08 23:11 ` [RFC/RFT][PATCH 2/2] swsusp: improve freeing of memory Rafael J. Wysocki
2005-11-09 14:46   ` Pavel Machek
2005-11-09 22:38     ` Rafael J. Wysocki
2005-11-09 23:15       ` Pavel Machek
2005-11-10 10:12         ` Rafael J. Wysocki
2005-11-09  0:32 ` [RFC/RFT][PATCH 0/2] " Pavel Machek
2005-11-09 22:49   ` Rafael J. Wysocki
2005-11-09 23:19     ` Pavel Machek
2005-11-10 10:34       ` Rafael J. Wysocki
2005-11-10 10:48         ` Pavel Machek
2005-11-09 14:30 ` Pavel Machek
2005-11-09 21:04   ` Pavel Machek [this message]
2005-11-09 23:07     ` Rafael J. Wysocki
2005-11-09 22:55   ` Rafael J. Wysocki
2005-11-09 23:22     ` Pavel Machek

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=20051109210402.GA12461@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=linux-pm@osdl.org \
    --cc=rjw@sisk.pl \
    /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