From: Harry Kalogirou <harkal@gmx.net>
To: Riley Williams <rhw@InfraDead.Org>
Cc: Javier Sedano <jsedano@dit.upm.es>,
Linux 8086 <linux-8086@vger.kernel.org>
Subject: Re: Swap support
Date: 22 Apr 2002 23:58:36 +0300 [thread overview]
Message-ID: <1019509114.5698.152.camel@cool> (raw)
In-Reply-To: <Pine.LNX.4.21.0204222126020.1614-100000@Consulate.UFP.CX>
Την Δευ, 22-04-2002 στις 23:35, ο/η Riley Williams έγραψε:
> Hi Harry.
>
> >> Would you mind if I tweaked the config system to allow this to be
> >> configured therein, making the entire configuration dependent on
> >> the CONFIG_EXPERIMENTAL config variable?
>
> > Yes make it dependent on CONFIG_EXPERIMENTAL, as for the
> > configuration of the swap partition leave it as it is now,
> > since it is only for developers at the moment...
>
> No problem. There's two thing that strike me though:
>
> 1. Does it actually make sense to use a ramdisk as a swap drive?
For now it does only for debuging. Later if and when we have ramdrives
that use memory after 1MB(on 286) it will make sense for more than
debuging....
> 2. If we're using a hard drive partition as a swap partition,
> doesn't the kernel already know the size of that partition?
Yes it does and the swapper will use that info in the next versions. I
just hardcoded in for now since the ramdisk driver does not inform about
the size of the drive and I only use the ramdisk for debuging.....
> If (2) is true, then the extents field is not one needing configuration
> anyway as we can just grab the value the kernel has already determined
> earlier in the boot process. At least, I hope it has, as it doesn't make
> sense for the swap code to be enabled prior to our autoprobing for the
> hard drive partition sizes.
>
> >> Also, does it use any particular format for the swap partition?
>
> > There is no need to format the block device (partition) to be used...
>
> True, but it misses what I was asking. Basically, are we emulating the
> Linux swap code in this respect, in that we store a swap signature at
> the start of the swap partition, or are we just using the partition raw?
We are using the partition _raw_. No format is needed(mkswap).
Harry
-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2002-04-22 20:58 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-22 8:47 Swap support Harry Kalogirou
2002-04-22 13:42 ` Javier Sedano
2002-04-22 13:38 ` Dave Chavez
2002-04-22 16:29 ` Harry Kalogirou
2002-04-22 18:18 ` Riley Williams
2002-04-22 19:40 ` Harry Kalogirou
2002-04-22 20:19 ` Introduction and proposal: erich alfred heine
2002-04-22 20:58 ` Riley Williams
2002-04-22 21:04 ` Harry Kalogirou
2002-04-22 22:26 ` Riley Williams
2002-04-22 21:02 ` Harry Kalogirou
2002-04-23 7:32 ` Introduction and proposal:Documentation tom potts
2002-04-23 15:55 ` erich alfred heine
2002-04-22 20:35 ` Swap support Riley Williams
2002-04-22 20:58 ` Harry Kalogirou [this message]
2002-04-22 22:23 ` Riley Williams
2002-04-22 23:03 ` Dan Olson
2002-04-23 6:56 ` Harry Kalogirou
2002-04-23 20:03 ` Blaz Antonic
2002-04-23 19:36 ` Harry Kalogirou
2002-04-22 19:40 ` Harry Kalogirou
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=1019509114.5698.152.camel@cool \
--to=harkal@gmx.net \
--cc=jsedano@dit.upm.es \
--cc=linux-8086@vger.kernel.org \
--cc=rhw@InfraDead.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