mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC][PATCH -mm 0/2] Additional function in swapfile.c (needed for swap suspend)
@ 2005-12-15 22:29 Rafael J. Wysocki
  2005-12-15 22:41 ` [RFC][PATCH -mm 1/2] " Rafael J. Wysocki
  2005-12-15 22:41 ` [RFC][PATCH -mm 2/2] " Rafael J. Wysocki
  0 siblings, 2 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2005-12-15 22:29 UTC (permalink / raw)
  To: LKML; +Cc: Pavel Machek

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-12-15 22:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-15 22:29 [RFC][PATCH -mm 0/2] Additional function in swapfile.c (needed for swap suspend) Rafael J. Wysocki
2005-12-15 22:41 ` [RFC][PATCH -mm 1/2] " Rafael J. Wysocki
2005-12-15 22:41 ` [RFC][PATCH -mm 2/2] " Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®