From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758934AbbLBQqp (ORCPT ); Wed, 2 Dec 2015 11:46:45 -0500 Received: from outbound-smtp09.blacknight.com ([46.22.139.14]:57971 "EHLO outbound-smtp09.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751477AbbLBQqn (ORCPT ); Wed, 2 Dec 2015 11:46:43 -0500 Date: Wed, 2 Dec 2015 16:46:40 +0000 From: Mel Gorman To: Geliang Tang Cc: Andrew Morton , Vlastimil Babka , Michal Hocko , David Rientjes , Joonsoo Kim , "Kirill A. Shutemov" , Johannes Weiner , Alexander Duyck , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] mm/page_alloc.c: use list_for_each_entry in mark_free_pages() Message-ID: <20151202164640.GF2015@techsingularity.net> References: <7009a8fa2dba33da9bcfe60db4741139c07c8074.1449068845.git.geliangtang@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <7009a8fa2dba33da9bcfe60db4741139c07c8074.1449068845.git.geliangtang@163.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 02, 2015 at 11:12:41PM +0800, Geliang Tang wrote: > Use list_for_each_entry instead of list_for_each + list_entry to > simplify the code. > > Signed-off-by: Geliang Tang Acked-by: Mel Gorman -- Mel Gorman SUSE Labs