From: Nigel Cunningham <ncunningham@users.sourceforge.net>
To: Andrew Morton <akpm@osdl.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: A question about terminology.
Date: Fri, 23 Jan 2004 20:20:59 +1300 [thread overview]
Message-ID: <1074842459.12773.272.camel@laptop-linux> (raw)
In-Reply-To: <20040122222720.19e905f9.akpm@osdl.org>
[-- Attachment #1: Type: text/plain, Size: 1628 bytes --]
Hi.
Thanks for the pointer.
I was aware of swap extents, but didn't look at the supporting
infrastructure because I originally wrote the code for 2.4, before I
looked at porting it to 2.6.
Having said that, I've looked at them now, but think that they probably
wouldn't help me.
This is partly because I've ended up using extents to store all the
meta-data: swap addresses, which blocks on the swap devices are used,
and which pages are used for what. (Sorry, only mentioning blocks in the
previous message did mislead you).
More importantly that that, though, I'm using whole pages for storing
the extents, and store the pages in the header of the image (after
making them relocatable). They replace the 'pagedirs' in Patrick's and
Pavel's implementations.
Regards,
Nigel
On Fri, 2004-01-23 at 19:27, Andrew Morton wrote:
> Nigel Cunningham <ncunningham@users.sourceforge.net> wrote:
> >
> > Hi again.
> >
> > When I began work on swapfile support, I looked for an efficient method
> > to store all the information on which blocks were used. The process led
> > me to develop something I called ranges, which Pavel later looked at and
> > said something like 'Oh. Extents.'
> >
> > Throughout the code, I still call them ranges (I have, for example
> > struct range and struct rangechain). In preparation for merging, should
> > I go through an rename ranges to extents, or will they be okay as it is?
>
> Are you aware of the current `struct swap_extent' and its supporting
> infrastructure?
--
My work on Software Suspend is graciously brought to you by
LinuxFund.org.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2004-01-23 7:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-22 19:21 A question about terminology Nigel Cunningham
2004-01-23 6:27 ` Andrew Morton
2004-01-23 7:20 ` Nigel Cunningham [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=1074842459.12773.272.camel@laptop-linux \
--to=ncunningham@users.sourceforge.net \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/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