lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 8 Apr 2007 12:56:36 +0000
From:	Pavel Machek <pavel@....cz>
To:	"Rafael J. Wysocki" <rjw@...k.pl>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Nigel Cunningham <ncunningham@...uxmail.org>
Subject: Re: [RFC][PATCH -mm] swsusp: Use rbtree for tracking allocated swap

Hi!

> Some time ago we discussed the possibility of simplifying the swsusp's approach
> towards tracking the swap pages allocated by it for saving the image (so that
> they can be freed if there's an error).
> 
> I think we can get back to it now, as it is a nice optimization that should
> allow us to use less memory (almost always) and improve performance a bit.
> 

Well, I do not think you can measure the difference, but...

>  kernel/power/power.h  |   27 +---------
>  kernel/power/swap.c   |   18 +-----
>  kernel/power/swsusp.c |  135 ++++++++++++++++++++++++++------------------------
>  kernel/power/user.c   |   22 +-------
>  4 files changed, 85 insertions(+), 117 deletions(-)

....as it removes code... I think we can do that. But it is 2.6.23+
material.

							Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists