Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp178551imm; Tue, 9 Oct 2018 16:02:30 -0700 (PDT) X-Google-Smtp-Source: ACcGV61Wp60pCAo+3QY7dhAHWMh0ewx/juIEs5rl8aW4Q8CG+o2YgUoygk8SAh17Pzs6KYIq7HAE X-Received: by 2002:a17:902:b484:: with SMTP id y4-v6mr30345026plr.262.1539126150118; Tue, 09 Oct 2018 16:02:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539126150; cv=none; d=google.com; s=arc-20160816; b=o5t2/59tz/sxpmg1Wkvuec+UkvPriGFdp+Oi0J1i8IVJfNpyR3BPob6hmQGdJg635d XAixaYiAwI1FEJDOMW2gx+fsUYDxXkDaJnqo+JXscV003tMtBZ6atS5T4IS3zRldjkjV +qmfp/XCm+KWyFLKGDIInE+5gEH1/kGxYIO1YGqffszwjeK4xel7b04AVFGZwRnSApcz UPb6rHw28MMnXiV+NTiqZz0/dtkykp1bDBKZatdZ36yJtgpHfKd96eGigAxmzpg0RIol jfd/2lXA65tdkyMg2XNhK/Js3pOXyO1PoM1CZGGTyElJLp17VkK+xGW4RXvPla/hQ1lo cU2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput:user-agent :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=c+HhjWAMCdXZohntLO9fRopZreqMCdmZG2vRYZta1Kc=; b=JINXORSFsQpK2vcwmuqEOi0OU1AMBt9VEUVo5H3R28+j9cU5s69990teOTbmqPlO2j hqjJcJDBDlnqeeEipmUoqJgfy1VkahlCi2Zv3K6lj415DWyfK75r52mJR6VEHHj592Xy ZJoq+SkyytfvtEDt+0RKR8ius0YRg4aMVBYLJfFXt8LVNnDD1eNm4wpQGEuls4+R5aFI wpYm8ywoTUOsNXPEbdY4NnUW4a1wI6CSeCk+Yg8SUffLzyf6SccpNDBvu64qMEjeiepw tiPH3b8BUNAIfHt9cVRxTzQZbypiF6Rvmk+k1ZArnGpiPzT+ixKu5YazHnZYViTj5gOR bnBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wavesemi.onmicrosoft.com header.s=selector1-wavecomp-com header.b=EfdnyWPz; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q16-v6si21299298pgb.18.2018.10.09.16.02.14; Tue, 09 Oct 2018 16:02:30 -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=@wavesemi.onmicrosoft.com header.s=selector1-wavecomp-com header.b=EfdnyWPz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726668AbeJJGVC (ORCPT + 99 others); Wed, 10 Oct 2018 02:21:02 -0400 Received: from mail-sn1nam02on0096.outbound.protection.outlook.com ([104.47.36.96]:6381 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725750AbeJJGVB (ORCPT ); Wed, 10 Oct 2018 02:21:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wavesemi.onmicrosoft.com; s=selector1-wavecomp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=c+HhjWAMCdXZohntLO9fRopZreqMCdmZG2vRYZta1Kc=; b=EfdnyWPzzDMBnFTOgK2eTA7Ccrdf4wqPWM+c7MxgF/bFrenm3rBJzGAEcK8koONFOwpDzsbnvUG1lzuiy5l1y+9hYMmtKckflLW/fuA9qS3D9nQ+/ZFiyaCrH2MBukhX0nF93qd2OuUOMyBc29XZcj2/jrvVcbzz+47oAzNY/OA= Received: from MWHPR2201MB1277.namprd22.prod.outlook.com (10.174.162.17) by MWHPR2201MB1181.namprd22.prod.outlook.com (10.174.169.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.27; Tue, 9 Oct 2018 23:01:41 +0000 Received: from MWHPR2201MB1277.namprd22.prod.outlook.com ([fe80::781f:63:481a:efdf]) by MWHPR2201MB1277.namprd22.prod.outlook.com ([fe80::781f:63:481a:efdf%10]) with mapi id 15.20.1228.020; Tue, 9 Oct 2018 23:01:41 +0000 From: Paul Burton To: Mike Rapoport CC: "linux-mm@kvack.org" , Andrew Morton , Catalin Marinas , Chris Zankel , Geert Uytterhoeven , Guan Xuetao , Ingo Molnar , Matt Turner , Michael Ellerman , Michal Hocko , Michal Simek , Richard Weinberger , Russell King , Thomas Gleixner , Tony Luck , "linux-alpha@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-ia64@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-m68k@lists.linux-m68k.org" , "linux-mips@linux-mips.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-um@lists.infradead.org" Subject: Re: [PATCH] memblock: stop using implicit alignement to SMP_CACHE_BYTES Thread-Topic: [PATCH] memblock: stop using implicit alignement to SMP_CACHE_BYTES Thread-Index: AQHUXCY/RflcQuwjxk6Km8qdVUMh/KUXj8OA Date: Tue, 9 Oct 2018 23:01:40 +0000 Message-ID: <20181009230137.rju3lm2saou5xsa4@pburton-laptop> References: <1538687224-17535-1-git-send-email-rppt@linux.vnet.ibm.com> In-Reply-To: <1538687224-17535-1-git-send-email-rppt@linux.vnet.ibm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN6PR0102CA0025.prod.exchangelabs.com (2603:10b6:805:1::38) To MWHPR2201MB1277.namprd22.prod.outlook.com (2603:10b6:301:24::17) user-agent: NeoMutt/20180716 authentication-results: spf=none (sender IP is ) smtp.mailfrom=pburton@wavecomp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2601:647:4100:4687:76db:7cfe:65a3:6aea] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MWHPR2201MB1181;6:gE0TJRoEjPWm6K8r4aVdQ5ub749GUBvebh3oAJRbOgmcF79A3M056LIulOy0AML0q2DvnzT5E2UG22YNBfWWgX6ipSmoVZ8RQwRwHZLxyhYQhRiTYk8byk9USHjAm/EE5tyBKQltsa0MYs/enWT4IOJLpQG/RElTahYAxXqhh00Uvtr6jUTnA+0jdzBTA7m1IM6J82lh+1miRtJjEs2K4iDGnh56pRw7eCqiXk+tiAc15vSOj8lXQhyb8uLxleHOBA0gr5xFe0Q+jKbaGqNV19MdXh4VfCojTpbR9cMoWP/c8pGw/9jWSZKz0UanEwGv0G5j9rCDN4lBLxRuE8RI4ldV+aRaNTIzi+NzgJKVZR4de4P6BhBzJAk0PjTMDGt0YXhelq+2xiZzWypOE3dh1Sb4V5SJQ85I9JyOdPvzHDLJIiNooTmtjIBMr1lWzBWIwN/25wDwQwdeYnBDnF5GYA==;5:n9CYNnQply5QBqok1gMTvLCkmCwVWX4V+9tGr1/aeitTaCaoU5JAsa6G7MM2t5DnPP1MHfn9vB6H3Ai0ktZpJaOIjtQLyqcAU5sEI4mFu/Ut5NDXcrdAALzDjBl6fzuut1DHKinCpNLuCvsJwVnI7cIfZI1FhZHtsUPeExNYRC4=;7:RMqlqCHYIRdnjUhSQH76ftPgvxQtizaicZEdWG2107NqPmz9h1JwW9fJx2jZIYZjYmkMpZzNi2kcIgJboPYUVBZ4MYhJJvPaNJ8dzyZF+P6Ps/Cp11kQCqFXBAosXeHtHYM/Z8u6weAA/i26PctdYVl5xurOF+zHTvZAE4AMsfa9j1JU5y1UhDSFOOyTf2jN/P+qYF2uGhKhD+UaTxUoGXdXD5LD49LftEn/jZhGK3qf4SRjDqBkO4qfwOdr2hUl x-ms-office365-filtering-correlation-id: 1dd53e6a-d129-467b-6207-08d62e3b2bff x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:MWHPR2201MB1181; x-ms-traffictypediagnostic: MWHPR2201MB1181: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(788757137089)(104084551191319); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(93006095)(10201501046)(3231355)(944501410)(52105095)(3002001)(149066)(150057)(6041310)(20161123562045)(20161123564045)(20161123558120)(2016111802025)(20161123560045)(6043046)(201708071742011)(7699051);SRVR:MWHPR2201MB1181;BCL:0;PCL:0;RULEID:;SRVR:MWHPR2201MB1181; x-forefront-prvs: 08200063E9 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(396003)(366004)(376002)(136003)(346002)(39840400004)(199004)(189003)(68736007)(486006)(446003)(7416002)(11346002)(476003)(46003)(42882007)(7736002)(305945005)(256004)(316002)(6116002)(5660300001)(44832011)(102836004)(6916009)(186003)(8676002)(4326008)(6486002)(81156014)(33716001)(14454004)(2900100001)(8936002)(6436002)(39060400002)(33896004)(386003)(58126008)(99286004)(6512007)(81166006)(6506007)(53936002)(76176011)(9686003)(229853002)(25786009)(54906003)(97736004)(105586002)(2906002)(1076002)(106356001)(71190400001)(71200400001)(5250100002)(52116002)(508600001)(6246003);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR2201MB1181;H:MWHPR2201MB1277.namprd22.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: wavecomp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: V7/fkerKu+UAYOeNyNcoG+j0JGxrX/PMDxDqCpFtGPgGsNosdiyH/sHGuhQnJUELdHTfHaT8E7u6WaSxB5orSLHIoNI2FTfNmg2937YG/fnzKv0GuhMbceZYDTS0le3yp6wv7R+L6RdEWYJWlrO78uyMHW5ocskZvB5Zi92g8rPrrAr8V+k5YLTbQKhpCafz7meRgm1XkTidSrygQxNb89RuuojFFxxtddLGJ6mCmOp3vcG62URYK+46quEQLJX2C2CMJdtIQRNxAnnaYFJ7ikGgEhXDYcC2y3FXXLBXyBWY04KVVeQfD4g9+Tdse1wzjhSG61Q7oF6TI+mbgyePIIGSqNDH5Q674CkQUriYSiI= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: mips.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1dd53e6a-d129-467b-6207-08d62e3b2bff X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2018 23:01:40.6702 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 463607d3-1db3-40a0-8a29-970c56230104 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR2201MB1181 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mike, On Fri, Oct 05, 2018 at 12:07:04AM +0300, Mike Rapoport wrote: > When a memblock allocation APIs are called with align =3D 0, the alignmen= t is > implicitly set to SMP_CACHE_BYTES. >=20 > Replace all such uses of memblock APIs with the 'align' parameter explici= tly > set to SMP_CACHE_BYTES and stop implicit alignment assignment in the > memblock internal allocation functions. >=20 >% >=20 > Suggested-by: Michal Hocko > Signed-off-by: Mike Rapoport Acked-by: Paul Burton # MIPS part Thanks, Paul