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]
Message-ID: <4A0C5434.3040905@redhat.com>
Date:	Thu, 14 May 2009 13:26:12 -0400
From:	Rik van Riel <riel@...hat.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
CC:	MinChan Kim <minchan.kim@...il.com>, linux-kernel@...r.kernel.org,
	linux-mm@...ck.org, kosaki.motohiro@...fujitsu.com,
	hannes@...xchg.org
Subject: Re: [PATCH] mmtom: Prevent shrinking of active anon lru list in case
 of no swap space V3

Andrew Morton wrote:
> On Thu, 14 May 2009 23:15:55 +0900
> MinChan Kim <minchan.kim@...il.com> wrote:
> 
>> Now shrink_zone can deactivate active anon pages even if we don't have a swap device. 
>> Many embedded products don't have a swap device. So the deactivation of anon pages is unnecessary. 
> 
> Does shrink_list() need to scan the anon LRUs at all if there's no swap
> online?

It doesn't.  Get_scan_ratio() will return 0 as the
anon percentage if no swap is online.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ