From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with SMTP id 4DF6F6B0047 for ; Tue, 21 Apr 2009 06:22:41 -0400 (EDT) Received: from m1.gw.fujitsu.co.jp ([10.0.50.71]) by fgwmail6.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id n3LAN0qB003858 for (envelope-from kosaki.motohiro@jp.fujitsu.com); Tue, 21 Apr 2009 19:23:00 +0900 Received: from smail (m1 [127.0.0.1]) by outgoing.m1.gw.fujitsu.co.jp (Postfix) with ESMTP id 8E74545DD7B for ; Tue, 21 Apr 2009 19:23:00 +0900 (JST) Received: from s1.gw.fujitsu.co.jp (s1.gw.fujitsu.co.jp [10.0.50.91]) by m1.gw.fujitsu.co.jp (Postfix) with ESMTP id 6885D45DD76 for ; Tue, 21 Apr 2009 19:23:00 +0900 (JST) Received: from s1.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s1.gw.fujitsu.co.jp (Postfix) with ESMTP id 65FFD1DB8016 for ; Tue, 21 Apr 2009 19:23:00 +0900 (JST) Received: from ml13.s.css.fujitsu.com (ml13.s.css.fujitsu.com [10.249.87.103]) by s1.gw.fujitsu.co.jp (Postfix) with ESMTP id 1C9081DB8013 for ; Tue, 21 Apr 2009 19:23:00 +0900 (JST) From: KOSAKI Motohiro Subject: Re: [PATCH 13/25] Inline __rmqueue_smallest() In-Reply-To: <20090421101115.GP12713@csn.ul.ie> References: <20090421185025.F156.A69D9226@jp.fujitsu.com> <20090421101115.GP12713@csn.ul.ie> Message-Id: <20090421192141.F168.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Tue, 21 Apr 2009 19:22:59 +0900 (JST) Sender: owner-linux-mm@kvack.org To: Mel Gorman Cc: kosaki.motohiro@jp.fujitsu.com, Linux Memory Management List , Christoph Lameter , Nick Piggin , Linux Kernel Mailing List , Lin Ming , Zhang Yanmin , Peter Zijlstra , Pekka Enberg , Andrew Morton List-ID: > Is this better? > > Inline __rmqueue_smallest by altering flow very slightly so that there > is only one call site. Because there is only one call-site, this > function can then be inlined without causing text bloat. very nice. > I don't see a need to add a comment into the function itself as I don't > think it would help any. ok. I drop my claim. -- 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/ . Don't email: email@kvack.org