Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp568966imm; Thu, 26 Jul 2018 08:19:13 -0700 (PDT) X-Google-Smtp-Source: AAOMgpePmg4dvpYwWNsmccSIALcwCNwL4T8Vj0HfK7X2Rj+RSNNqk7zdKFOWf2kv4YrhQ1KNEbm6 X-Received: by 2002:a63:6743:: with SMTP id b64-v6mr2339829pgc.91.1532618353548; Thu, 26 Jul 2018 08:19:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532618353; cv=none; d=google.com; s=arc-20160816; b=UMSqw7EWYy120nYfNgaEVGW3GBAt6xcvgzSS1L4ZHVdEPchQA8ItTjsunsDco0vdGR TaUd+AQCKBd6sCb6XNQwRRrEU7t8jVfMvnHELTXjCG10w+6xNLvyjfjrJaDrAPrnluyr ze6kSvJwZienGQWVwqVGmzgnc98r79ysV0FwuhjsdlQkubt76Vosmn3qIxKzNT/0wVdE ex8BtWGtPBW0puxql3xbyzRn1jQh/UQXtiTFDXyakBtZymd5kGMCcbWeE3+e9FFSb17A Nyk/EoqXXJTCiq71/woQEEMkeJpu3+XNkIRjVr8RoGWFDysfGhXT/YZjXDvLTpbnvYVa lS0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=4YFGOA0nl7N0g75UyL47SNH+cYmr21W3NWhzHssOtfk=; b=HXwb27hUEOlDOTDAZTo5oor+mcimQXE5DsUirgUiOP+fOJ/OALHM5xKzMXebmD5/bG qJhR12MqHXZcIsO1sOpmYY4S3Umi+Hb+EUlfR49izxy704tZF0xFJ8e5v3WPa5XEUUXA GDq78V99BiOReA9iLftdNa/noCF94JTDP6HTkFaBDAPw9EFvp3cIl9PqToebVIg0DUVO BTwdmGNJv/bMK4OdafV82Ga5y4M+c+lBk4gCTKdUU0j03wPf95fzYf+UC4qFanYDY8M8 SlMJ8Oy7U8rKxWUp+WDSIJztwE+DwbzyWy0xtXdS9wSlcwsghdpyisTfxooi5epeGP1Y BRXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=gROHLtKr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e15-v6si1483020pli.44.2018.07.26.08.18.58; Thu, 26 Jul 2018 08:19:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=gROHLtKr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731321AbeGZQfW (ORCPT + 99 others); Thu, 26 Jul 2018 12:35:22 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:52734 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729801AbeGZQfW (ORCPT ); Thu, 26 Jul 2018 12:35:22 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w6QFEQRi154598; Thu, 26 Jul 2018 15:17:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2018-07-02; bh=4YFGOA0nl7N0g75UyL47SNH+cYmr21W3NWhzHssOtfk=; b=gROHLtKrIQaFkF9Q4S2xK9lIOVFxpg3WECRmTrRPHD2KB42jhSsSZT8XXV+1UNvXUZpy VTwQoKQmUfJbybk8mAT/2WvdafhdYXAupuQwY+kh+yW9aMILPElQMMIs+m1P0atj7wYd aS5dJhMJ48VRz3MJ0lLPcLEi/AXyGCiOz1KTKnF8eJPCZejdd+AlmWeyOt9EYUnfcvYF gi/rPx1QsciI1Cvt8NKCH2ieEOz3yimV6JwA2XtPG8Xe4HSewcNnVYHTMgH0g13zlDL0 TM4qMMd6Yz3yHDuLB+KYiK6JmotiTjMNA0txGk/8WtIXTs3zkPhbK/P7DCVwG5xC31hi Xw== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2120.oracle.com with ESMTP id 2kbvsp3j9h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 26 Jul 2018 15:17:47 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w6QFHkf6004195 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 26 Jul 2018 15:17:46 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w6QFHiCa023673; Thu, 26 Jul 2018 15:17:44 GMT Received: from xakep.localdomain (/73.69.118.222) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 26 Jul 2018 08:17:44 -0700 Date: Thu, 26 Jul 2018 11:17:42 -0400 From: Pavel Tatashin To: osalvador@techadventures.net Cc: akpm@linux-foundation.org, mhocko@suse.com, vbabka@suse.cz, mgorman@techsingularity.net, aaron.lu@intel.com, iamjoonsoo.kim@lge.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, dan.j.williams@intel.com, Oscar Salvador Subject: Re: [PATCH v3 3/5] mm/page_alloc: Inline function to handle CONFIG_DEFERRED_STRUCT_PAGE_INIT Message-ID: <20180726151742.ebjghfe27n7eoxq6@xakep.localdomain> References: <20180725220144.11531-1-osalvador@techadventures.net> <20180725220144.11531-4-osalvador@techadventures.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180725220144.11531-4-osalvador@techadventures.net> User-Agent: NeoMutt/20180716 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8965 signatures=668706 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=968 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807260158 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18-07-26 00:01:42, osalvador@techadventures.net wrote: > From: Oscar Salvador > > Let us move the code between CONFIG_DEFERRED_STRUCT_PAGE_INIT > to an inline function. > Not having an ifdef in the function makes the code more readable. > > Signed-off-by: Oscar Salvador > Acked-by: Michal Hocko Reviewed-by: Pavel Tatashin