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  linux-hardening  linux-cve-announce  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:	Fri, 02 Mar 2007 20:31:04 -0500
From:	Rik van Riel <riel@...hat.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
CC:	linux-kernel <linux-kernel@...r.kernel.org>,
	linux-mm <linux-mm@...ck.org>
Subject: Re: [PATCH] free swap space of (re)activated pages

Andrew Morton wrote:
> On Fri, 02 Mar 2007 15:31:19 -0500
> Rik van Riel <riel@...hat.com> wrote:
> 
>> the attached patch frees the swap space of already resident pages
>> when swap space starts getting tight, instead of only freeing up
>> the swap space taken up by newly swapped in pages.
>>
>> This should result in the swap space of pages that remain resident
>> in memory being freed, allowing kswapd more chances to actually swap
>> a page out (instead of rotating it back onto the active list).
> 
> Fair enough.   How do we work out if this helps things?

I suspect it should mostly help on desktop systems that slowly
fill up (and run out of) swap.  I'm not sure how to create that
synthetically.

I have seen that swap is kept free much easier in a qsbench
test, but that's probably not a very good test since it swaps
things in and out all the time...

-- 
Politics is the struggle between those who want to make their country
the best in the world, and those who believe it already is.  Each group
calls the other unpatriotic.
-
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