From: Martin Knoblauch <Martin.Knoblauch@TeraPort.de>
To: Pavel Machek <pavel@suse.cz>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [swsusp fixes] Re: Linux 2.4.19pre5-ac3
Date: Tue, 09 Apr 2002 09:40:19 +0200 [thread overview]
Message-ID: <3CB29AE3.E3447952@TeraPort.de> (raw)
In-Reply-To: <3CB1B89D.13DDF456@TeraPort.de> <20020408215908.GI31172@atrey.karlin.mff.cuni.cz>
Pavel Machek wrote:
>
> Hi!
>
> > > +
> > > +You have two ways to use this code. The first one is if you've compiled in
> > > +sysrq support then you may press Sysrq-D to request suspend. The other way
> > > +is with a patched SysVinit (my patch is against 2.76 and available at my
> > > +home page). You might call 'swsusp' or 'shutdown -z <time>'.
> > > +
> > > +Either way it saves the state of the machine into active swaps and then
> > > +reboots. By the next booting the kernel's resuming function is either triggered
> > > +by swapon -a (which is ought to be in the very early stage of booting) or you
> > > +may explicitly specify the swap partition/file to resume from with ``resume=''
> > > +kernel option. If signature is found it loads and restores saved state. If the
> >
> > Does it have to be an "active swap partition"? What about systems
> > without active swap, but space enough for a partition?
>
> There you just make it partition and then mkswap/swapon it. Or did I
> misunderstand the question?
> Pavel
Pavel,
maybe I was unclear. For reasons of interactivity, I do not have any
swap enabled on my Notebook. The 320 MB are enough for my workload and I
am willing to accept the OOM Killer when I do really stupid things. If I
enable swap the (all of them to some degree :-) VM decides to swap out
"unused" processes. Most of them are desktop related and if I need them
the system responds sluggish. Therefore - no swap activated.
My question was: can I have a system without active swap and still use
swsusp? Creating a swap/suspend partition of appropriate size is not a
problem. I just do not want to "swapon" it.
Martin
--
------------------------------------------------------------------
Martin Knoblauch | email: Martin.Knoblauch@TeraPort.de
TeraPort GmbH | Phone: +49-89-510857-309
C+ITS | Fax: +49-89-510857-111
http://www.teraport.de | Mobile: +49-170-4904759
next prev parent reply other threads:[~2002-04-09 7:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-08 15:34 [swsusp fixes] Re: Linux 2.4.19pre5-ac3 Martin Knoblauch
2002-04-08 21:59 ` Pavel Machek
2002-04-09 7:40 ` Martin Knoblauch [this message]
2002-04-09 10:54 ` Pavel Machek
2002-04-09 12:04 ` Martin Knoblauch
2002-04-09 20:54 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2002-04-06 1:04 CaT
2002-04-06 1:09 ` Alan Cox
2002-04-06 1:12 ` CaT
2002-04-07 11:50 ` [swsusp fixes] " 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=3CB29AE3.E3447952@TeraPort.de \
--to=martin.knoblauch@teraport.de \
--cc=linux-kernel@vger.kernel.org \
--cc=m.knoblauch@TeraPort.de \
--cc=pavel@suse.cz \
/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