From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harry Kalogirou Subject: Re: Swap support Date: 22 Apr 2002 23:58:36 +0300 Sender: linux-8086-owner@vger.kernel.org Message-ID: <1019509114.5698.152.camel@cool> References: Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="iso-8859-7" To: Riley Williams Cc: Javier Sedano , Linux 8086 =D4=E7=ED =C4=E5=F5, 22-04-2002 =F3=F4=E9=F2 23:35, =EF/=E7 Riley Willi= ams =DD=E3=F1=E1=F8=E5: > Hi Harry. >=20 > >> 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? >=20 > > 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... >=20 > No problem. There's two thing that strike me though: >=20 > 1. Does it actually make sense to use a ramdisk as a swap drive? =20 =46or now it does only for debuging. Later if and when we have ramdriv= es that use memory after 1MB(on 286) it will make sense for more than debuging....=20 > 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 abou= t 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 configurati= on > anyway as we can just grab the value the kernel has already determine= d > earlier in the boot process. At least, I hope it has, as it doesn't m= ake > sense for the swap code to be enabled prior to our autoprobing for th= e > hard drive partition sizes. >=20 > >> Also, does it use any particular format for the swap partition? >=20 > > There is no need to format the block device (partition) to be used.= =2E. >=20 > True, but it misses what I was asking. Basically, are we emulating th= e > 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 r= aw? =20 We are using the partition _raw_. No format is needed(mkswap). Harry - To unsubscribe from this list: send the line "unsubscribe linux-8086" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html