From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Pavel Machek <pavel@suse.cz>
Subject: [RFC][PATCH -mm 0/2] Additional function in swapfile.c (needed for swap suspend)
Date: Thu, 15 Dec 2005 23:29:07 +0100 [thread overview]
Message-ID: <200512152329.08537.rjw@sisk.pl> (raw)
Hi,
To implement the image-writing part of swsusp in the user space and maintain
the compatibility with the in-kernel implementation we need to be able to
ask the kernel to allocate a swap page from specific swap partition. For this
purpose we need a function allowing us to specify the swap partition to
allocate from.
Moreover, if we had such a function, we could change the in-kernel
implementation of swsusp to avoid locking of the swap devices that
are not used for suspend and this would allow us to simplify the code
quite a bit.
The first of the following two patches adds such a function, and the second
of them shows what can be done in swsusp if that function is available.
All of your comments and/or suggestions will be appreciated.
Greetings,
Rafael
next reply other threads:[~2005-12-15 22:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-15 22:29 Rafael J. Wysocki [this message]
2005-12-15 22:41 ` [RFC][PATCH -mm 1/2] " Rafael J. Wysocki
2005-12-15 22:41 ` [RFC][PATCH -mm 2/2] " Rafael J. Wysocki
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=200512152329.08537.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®