Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp377966imm; Thu, 6 Sep 2018 04:03:56 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZue7Y8CaXPQJn+9hU1UlPm4eV6QvVqqWWzmUWRF7+sOZcQIFp3Mk4W5l4HlYcUQYcAXZa4 X-Received: by 2002:a63:555c:: with SMTP id f28-v6mr2152450pgm.37.1536231836887; Thu, 06 Sep 2018 04:03:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536231836; cv=none; d=google.com; s=arc-20160816; b=U3wsj1TOvip9I1NX5P9lIfB4RL8UjxYm1xj7JU6P0Y4EI1PmBzCc01J4pHZbTOywUm UaaEUjh7/hzY9ccm4JkQCtHlMTtxG1Th2C2rqfZWBR4bih0TVkzuLMKlIFScD/8Aka7O lWDbxmOmnRQ/YY8G8z/Ctpq7bcEEe2AG2PALenU6U6M3dlju0Wx6CyI5Ypj2WtWPgZs5 BxUIb6iiGDmJI/SvshcbnX56BZeTiF7sk8yHVQUMaT1RMt7LBJ5OvGjgFku6YkMbf+zC EXdCUrmt/MGsMgUmMvKJrqr8lM/q3kTz4x6hcxOHsAGyhwjMIsB1UN1FPQeflxL/AIZA xpRg== 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; bh=Fan13mOqo/W2KIoxg2fqzi31MsFUfYY6jckR/sD/U3A=; b=Aw5O+XJYUdGbVZSUmBzOze4g5CfIvJ3r4StuVvHBlwS0VYk8yJTZxB6eJcWulo+xfG 1BAwKDCg8Errp+Wdnq+ATdAOtfiicT1+JsB2PuTqSVGMpAG5D4jNWv7+hZ9WThbsDWQm 77p3Fjhrlty+G/pyTTgVK7fz1FmBsjsu5aDgnoSjZnU4swhal2Vnh/290QuHWEZ+firr Mo25cqWLhuUbPrewKE1Yxuhwjdvrc0wbOpgP1MImxV3pe/DSR+219xMEnTDUV9AC5fY3 3nXhyD/d8fklnvCIPooN8Lwg8uqDJMnd0D/k/u1ognrMRK8LocwSNWncRIZrHo+civvX QE9A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n3-v6si4624345pgh.359.2018.09.06.04.03.39; Thu, 06 Sep 2018 04:03:56 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728049AbeIFMbe (ORCPT + 99 others); Thu, 6 Sep 2018 08:31:34 -0400 Received: from mx2.suse.de ([195.135.220.15]:33266 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725819AbeIFMbe (ORCPT ); Thu, 6 Sep 2018 08:31:34 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id ADE25AC1F; Thu, 6 Sep 2018 07:57:21 +0000 (UTC) Date: Thu, 6 Sep 2018 09:57:21 +0200 From: Michal Hocko To: Mike Rapoport Cc: linux-mm@kvack.org, Andrew Morton , "David S. Miller" , Greg Kroah-Hartman , Ingo Molnar , Michael Ellerman , Paul Burton , Thomas Gleixner , Tony Luck , linux-ia64@vger.kernel.org, linux-mips@linux-mips.org, linuxppc-dev@lists.ozlabs.org, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 13/29] memblock: replace __alloc_bootmem_nopanic with memblock_alloc_from_nopanic Message-ID: <20180906075721.GV14951@dhcp22.suse.cz> References: <1536163184-26356-1-git-send-email-rppt@linux.vnet.ibm.com> <1536163184-26356-14-git-send-email-rppt@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1536163184-26356-14-git-send-email-rppt@linux.vnet.ibm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 05-09-18 18:59:28, Mike Rapoport wrote: > Signed-off-by: Mike Rapoport The translation is simpler here but still a word or two would be nice. Empty changelogs suck. To the change Acked-by: Michal Hocko > --- > arch/arc/kernel/unwind.c | 4 ++-- > arch/x86/kernel/setup_percpu.c | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c > index 183391d..2a01dd1 100644 > --- a/arch/arc/kernel/unwind.c > +++ b/arch/arc/kernel/unwind.c > @@ -181,8 +181,8 @@ static void init_unwind_hdr(struct unwind_table *table, > */ > static void *__init unw_hdr_alloc_early(unsigned long sz) > { > - return __alloc_bootmem_nopanic(sz, sizeof(unsigned int), > - MAX_DMA_ADDRESS); > + return memblock_alloc_from_nopanic(sz, sizeof(unsigned int), > + MAX_DMA_ADDRESS); > } > > static void *unw_hdr_alloc(unsigned long sz) > diff --git a/arch/x86/kernel/setup_percpu.c b/arch/x86/kernel/setup_percpu.c > index 67d48e26..041663a 100644 > --- a/arch/x86/kernel/setup_percpu.c > +++ b/arch/x86/kernel/setup_percpu.c > @@ -106,7 +106,7 @@ static void * __init pcpu_alloc_bootmem(unsigned int cpu, unsigned long size, > void *ptr; > > if (!node_online(node) || !NODE_DATA(node)) { > - ptr = __alloc_bootmem_nopanic(size, align, goal); > + ptr = memblock_alloc_from_nopanic(size, align, goal); > pr_info("cpu %d has no node %d or node-local memory\n", > cpu, node); > pr_debug("per cpu data for cpu%d %lu bytes at %016lx\n", > @@ -121,7 +121,7 @@ static void * __init pcpu_alloc_bootmem(unsigned int cpu, unsigned long size, > } > return ptr; > #else > - return __alloc_bootmem_nopanic(size, align, goal); > + return memblock_alloc_from_nopanic(size, align, goal); > #endif > } > > -- > 2.7.4 > -- Michal Hocko SUSE Labs