[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#573912: linux-2.6: please enable ramzswap/compcache



On Mon, 2010-05-31 at 18:03 +0200, Alberto wrote:
> On Sun, 18 Apr 2010 at 18:13:55 +0100, Ben Hutchings wrote:
> >>  Is the notify patch included on this module backport? It helps a lot
> >>  to free compressed RAM not used anymore. Acording to the description,
> 
> >This does not appear to have been accepted upstream yet.  If it has,
> >please provide a reference (commit hash and repository URL).
> 
> 
> It seems that some patches have been accepted for 2.6.35:
> 
> http://www.mail-archive.com/linux-mm-cc@lists.laptop.org/msg00182.html
> 
> I don't have the skills to evaluate if backporting this feature
> would be feassible, or too intrusive.

This looks possible to backport, but it will involve an ABI bump (hence
a change of binary package names) so I won't apply the changes straight
away.

(For future reference, the commits are:

commit b27256439568950f30864ccecaeb6dfb588089d5
Author: Nitin Gupta <ngupta@vflare.org>
Date:   Mon May 17 11:02:42 2010 +0530

    swap: Add flag to identify block swap devices

commit b3a27d0529c6e5206f1b60f60263e3ecfd0d77cb
Author: Nitin Gupta <ngupta@vflare.org>
Date:   Mon May 17 11:02:43 2010 +0530

    swap: Add swap slot free callback to block_device_operations

commit 107c161b7ddeeb7da43509cc6b29211885ccd9af
Author: Nitin Gupta <ngupta@vflare.org>
Date:   Mon May 17 11:02:44 2010 +0530

    Staging: ramzswap: Handler for swap slot free callback

though other ramszswap changes may also be needed.)

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: