From: Pavel Machek <pavel@ucw.cz>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Linux PM <linux-pm@osdl.org>
Subject: Re: [RFC][PATCH -mm] swsusp: specify available swap in bytes
Date: Sun, 22 Jan 2006 18:14:47 +0100 [thread overview]
Message-ID: <20060122171447.GA1627@elf.ucw.cz> (raw)
In-Reply-To: <200601221211.20937.rjw@sisk.pl>
[-- Attachment #1: Type: text/plain, Size: 793 bytes --]
On Ne 22-01-06 12:11:20, Rafael J. Wysocki wrote:
> Hi,
>
> If the SNAPSHOT_AVAIL_SWAP ioctl returns the number of bytes, it will allow us
> to use the number as an input for the SNAPSHOT_SET_IMAGE_SIZE ioctl directly.
>
> OTOH, to make SNAPSHOT_AVAIL_SWAP return the number of bytes we need to
> add the size of the image in bytes to the image header, but this really costs us
> nothing, because the header is page-aligned anyway.
>
> The appended patch contains all the necessary changes.
>
> Opinions welcome. :-)
ACK.
BTW that "make /sys/power/image_size be in bytes" perhaps should be
merged to Linus, so that 2.6.16 has final version of userland
interface. It is better to change it between -rc1 and final than
between 2.6.16 and 2.6.17.
Thanks,
Pavel
--
Thanks, Sharp!
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2006-01-22 17:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-22 11:11 [RFC][PATCH -mm] swsusp: specify available swap in bytes Rafael J. Wysocki
2006-01-22 17:14 ` Pavel Machek [this message]
2006-01-23 8:09 ` Stefan Seyfried
2006-01-23 10:34 ` 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=20060122171447.GA1627@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