On Tuesday, 26 September 2006 21:38, Andrew Morton wrote:
> On Sat, 23 Sep 2006 12:08:25 +0200
> "Rafael J. Wysocki" <[email protected]> wrote:
>
> > Add the kernel command line parameter "resume_offset=" allowing us to specify
> > the offset, in <PAGE_SIZE> units, from the beginning of the partition pointed
> > to by the "resume=" parameter at which the swap header is located.
>
> Is this description correct?
Yes, it is. Please have a look at setup_swap_extents(). :-)
> I think it's in 512-byte units?
Well, no.
> It certainly should be - a filesytem could start the swapfile at any
> sector_t.
If I understand the code correctly, it looks for the first page-aligned
continuous region that contains as many blocks as to hold at least one
page.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]