From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752867AbdBIOfE (ORCPT ); Thu, 9 Feb 2017 09:35:04 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:40408 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752335AbdBIOfC (ORCPT ); Thu, 9 Feb 2017 09:35:02 -0500 Subject: Re: [PATCH] mm/page_alloc: remove redundant init code for ZONE_MOVABLE To: Wei Yang , akpm@linux-foundation.org, mgorman@techsingularity.net, mhocko@suse.com References: <20170209141731.60208-1-richard.weiyang@gmail.com> Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org From: Anshuman Khandual Date: Thu, 9 Feb 2017 20:04:12 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170209141731.60208-1-richard.weiyang@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 17020914-0024-0000-0000-0000039B9046 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17020914-0025-0000-0000-00001115B306 Message-Id: <0dd05827-a3f9-d287-352a-f92fb05400b8@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-02-09_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1702090131 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/09/2017 07:47 PM, Wei Yang wrote: > arch_zone_lowest/highest_possible_pfn[] is set to 0 and [ZONE_MOVABLE] is > skipped in the loop. No need to reset them to 0 again. > > This patch just removes the redundant code. Yeah, sounds pretty straight forward.