From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx126.postini.com [74.125.245.126]) by kanga.kvack.org (Postfix) with SMTP id E48036B004D for ; Thu, 29 Dec 2011 20:55:28 -0500 (EST) Received: by iacb35 with SMTP id b35so29428879iac.14 for ; Thu, 29 Dec 2011 17:55:28 -0800 (PST) Date: Thu, 29 Dec 2011 17:55:14 -0800 (PST) From: Hugh Dickins Subject: Re: [PATCH 3/3] mm: take pagevecs off reclaim stack In-Reply-To: <4EFD04B2.7050407@gmail.com> Message-ID: References: <20111229145548.e34cb2f3.akpm@linux-foundation.org> <4EFD04B2.7050407@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: KOSAKI Motohiro Cc: Andrew Morton , Konstantin Khlebnikov , linux-mm@kvack.org On Thu, 29 Dec 2011, KOSAKI Motohiro wrote: > > When lumpy reclaim occur, isolate_lru_pages() gather much pages than > SWAP_CLUSTER_MAX. Oh, good point, I hadn't thought of that. > However, at that time, I think this patch behave > better than old. If we release and retake zone lock per 14 pages, > other tasks can easily steal a part of lumpy reclaimed pages. and then > long latency wrongness will be happen when system is under large page > memory allocation pressure. That's the reason why I posted very similar patch > a long time ago. Aha, and another good point. Thank you. Hugh -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org