Hi,
To implement the image-writing part of swsusp in the user space and maintain
the compatibility with the in-kernel implementation we need to be able to
ask the kernel to allocate a swap page from specific swap partition. For this
purpose we need a function allowing us to specify the swap partition to
allocate from.
Moreover, if we had such a function, we could change the in-kernel
implementation of swsusp to avoid locking of the swap devices that
are not used for suspend and this would allow us to simplify the code
quite a bit.
The first of the following two patches adds such a function, and the second
of them shows what can be done in swsusp if that function is available.
All of your comments and/or suggestions will be appreciated.
Greetings,
Rafael
-
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]