Message ID | 1536927045-23536-9-git-send-email-rppt@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D0156112B for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 14 Sep 2018 12:12:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABEA72B2AA for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 14 Sep 2018 12:12:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9DC0D2B2B7; Fri, 14 Sep 2018 12:12:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F38F2B2AA for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 14 Sep 2018 12:12:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2F6868E000A; Fri, 14 Sep 2018 08:11:59 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 27D848E0001; Fri, 14 Sep 2018 08:11:59 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0D1A38E000A; Fri, 14 Sep 2018 08:11:59 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-ot1-f69.google.com (mail-ot1-f69.google.com [209.85.210.69]) by kanga.kvack.org (Postfix) with ESMTP id C866B8E0001 for <linux-mm@kvack.org>; Fri, 14 Sep 2018 08:11:58 -0400 (EDT) Received: by mail-ot1-f69.google.com with SMTP id t46-v6so3530829otf.13 for <linux-mm@kvack.org>; Fri, 14 Sep 2018 05:11:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:in-reply-to:references:message-id; bh=Rl1v0Hxg5ZirvH4jXLBPLupRyHrGIzcSukMy0q9TclI=; b=MPSp5xs6FLsCmgn+zwSOOomlyLNQjCqvpXId+dOp5mHdq4fISKYJUPQPmPlW5DkyZE AfROeSgDNziVOiqyfIMkAqdfLN0rM62WDcPqzlFXzXhv5bqqicEpwcLDxhb11y6e9kOd pHuxXp1KAwTV00yZOwFQwNoyiIJKI/+bmfzSpbobed0noqQxpdPXRPX9flFvKRRmei/q cs9x9aapMHbBDkOJE8dsv+rtKVCRbmJAYj8RDvEH/p6hJB9E2vQ1KwBSzGF2GXXLIMrh 55HPc8+l9tw7GDRTXk0nA7xMp24WkXx6Aupqe5tl2vZT5R7FtKEQd8LfiP7SrZXMYfKq eLhw== X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 148.163.158.5 is neither permitted nor denied by best guess record for domain of rppt@linux.vnet.ibm.com) smtp.mailfrom=rppt@linux.vnet.ibm.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com X-Gm-Message-State: APzg51A/eMhwHmj7ppkapE6FpMCH7rRJKEvYOGMLL5ncsHxD3KFr4hdD dYp9XFOF638MGqEV4XSqJftQywo+b4KH3kRbghkVByg+lGmOCcr2/IM51JHbjZuVKkIxkxW++z6 OBYj7qaJaSw0wpLVdoNE6zjPoASVYI+ZClBsFRnZU/PtQKfIT56OjQgThs/iWp28= X-Received: by 2002:aca:bd46:: with SMTP id n67-v6mr9846772oif.56.1536927118568; Fri, 14 Sep 2018 05:11:58 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbdUW8v30yovJhmUgaqlssoQrl+ILlhsOUOxUynQ2SPWJApFZksOou4NZdkcOmO3EAcesE2 X-Received: by 2002:aca:bd46:: with SMTP id n67-v6mr9846733oif.56.1536927117652; Fri, 14 Sep 2018 05:11:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536927117; cv=none; d=google.com; s=arc-20160816; b=w9CahLKa8O7pzoqxPeWsX+NZLetm3JPnkdO30HY3ydhZE/Lv9+z+BEwydcuLmgUYK3 U3VvE0E/sbgf86Bi3bQqsdjjmf2UVVa9L+ctkjt07mEqfyTldiNwN0itcAqmCd3MtfWI Tm1VbmPMgnjbrkGIRbfNBxifwu4VH5Cuen40I5Tj1DUtVttbioSenAFO5SDjNkfcWiXX X1r+mfGYMgVYFfOdEFce6bjCh/BPHVk26I9tu+1rfDGp50mAHppvgfeBzYH3lHPJUkxc X7JQfyuWcreAkk+MNa2unjpjyQlo44mXoVDcxn8U/Kh3k5llI+hHoR1GRMvGgJK2UsFQ dp/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:references:in-reply-to:date:subject:cc:to:from; bh=Rl1v0Hxg5ZirvH4jXLBPLupRyHrGIzcSukMy0q9TclI=; b=BBss/ijAVzLNGP/+P/mqTEazccbLm/ttlpKaCC83kDAC6C5b+KpKH4hcOOH6D7UZGe Jh3a6eLx6s/e5/kbRKnrYQm1k+Lldv0mfAQ39IfiybGKQrYL18mv5MwJJlDiaGNeb/VV pSJrg4Q2yn1l+ys9r2KypTm4u3a6xd667FNDQOiUge1bPfLy8UScgMei7sfbsN2pbv0P b8sdeHHkr6r+8omQydsK+dNZIG+DAl/TrzWeYWsvtppNaEzH0Q/S30Kxo9VxGNBYH4MP uTxzq3DSgpzOmvHHFC5UmsA/XY0B+Hw9/hqabIpEV664+ZM4Gd3cohHlGRC9DmmGM7bR mhjA== ARC-Authentication-Results: i=1; mx.google.com; spf=neutral (google.com: 148.163.158.5 is neither permitted nor denied by best guess record for domain of rppt@linux.vnet.ibm.com) smtp.mailfrom=rppt@linux.vnet.ibm.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com. [148.163.158.5]) by mx.google.com with ESMTPS id z198-v6si3548669oia.108.2018.09.14.05.11.57 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Sep 2018 05:11:57 -0700 (PDT) Received-SPF: neutral (google.com: 148.163.158.5 is neither permitted nor denied by best guess record for domain of rppt@linux.vnet.ibm.com) client-ip=148.163.158.5; Authentication-Results: mx.google.com; spf=neutral (google.com: 148.163.158.5 is neither permitted nor denied by best guess record for domain of rppt@linux.vnet.ibm.com) smtp.mailfrom=rppt@linux.vnet.ibm.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8EC4lrP026749 for <linux-mm@kvack.org>; Fri, 14 Sep 2018 08:11:57 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0b-001b2d01.pphosted.com with ESMTP id 2mg9c78d60-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for <linux-mm@kvack.org>; Fri, 14 Sep 2018 08:11:56 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <linux-mm@kvack.org> from <rppt@linux.vnet.ibm.com>; Fri, 14 Sep 2018 13:11:54 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 14 Sep 2018 13:11:42 +0100 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w8ECBfad63438946 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 Sep 2018 12:11:41 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3832911C05E; Fri, 14 Sep 2018 15:11:29 +0100 (BST) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E878311C04A; Fri, 14 Sep 2018 15:11:23 +0100 (BST) Received: from rapoport-lnx (unknown [9.148.207.116]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Fri, 14 Sep 2018 15:11:23 +0100 (BST) Received: by rapoport-lnx (sSMTP sendmail emulation); Fri, 14 Sep 2018 15:11:35 +0300 From: Mike Rapoport <rppt@linux.vnet.ibm.com> To: linux-mm@kvack.org Cc: Andrew Morton <akpm@linux-foundation.org>, Catalin Marinas <catalin.marinas@arm.com>, Chris Zankel <chris@zankel.net>, "David S. Miller" <davem@davemloft.net>, Geert Uytterhoeven <geert@linux-m68k.org>, Greentime Hu <green.hu@gmail.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Guan Xuetao <gxt@pku.edu.cn>, Ingo Molnar <mingo@redhat.com>, "James E.J. Bottomley" <jejb@parisc-linux.org>, Jonas Bonn <jonas@southpole.se>, Jonathan Corbet <corbet@lwn.net>, Ley Foon Tan <lftan@altera.com>, Mark Salter <msalter@redhat.com>, Martin Schwidefsky <schwidefsky@de.ibm.com>, Matt Turner <mattst88@gmail.com>, Michael Ellerman <mpe@ellerman.id.au>, Michal Hocko <mhocko@suse.com>, Michal Simek <monstr@monstr.eu>, Palmer Dabbelt <palmer@sifive.com>, Paul Burton <paul.burton@mips.com>, Richard Kuo <rkuo@codeaurora.org>, Richard Weinberger <richard@nod.at>, Rich Felker <dalias@libc.org>, Russell King <linux@armlinux.org.uk>, Serge Semin <fancer.lancer@gmail.com>, Thomas Gleixner <tglx@linutronix.de>, Tony Luck <tony.luck@intel.com>, Vineet Gupta <vgupta@synopsys.com>, Yoshinori Sato <ysato@users.sourceforge.jp>, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-c6x-dev@linux-c6x.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@linux-mips.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-um@lists.infradead.org, nios2-dev@lists.rocketboards.org, openrisc@lists.librecores.org, sparclinux@vger.kernel.org, uclinux-h8-devel@lists.sourceforge.jp, Mike Rapoport <rppt@linux.vnet.ibm.com> Subject: [PATCH 08/30] memblock: replace alloc_bootmem_align with memblock_alloc Date: Fri, 14 Sep 2018 15:10:23 +0300 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536927045-23536-1-git-send-email-rppt@linux.vnet.ibm.com> References: <1536927045-23536-1-git-send-email-rppt@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18091412-0016-0000-0000-000002056045 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18091412-0017-0000-0000-0000325C3648 Message-Id: <1536927045-23536-9-git-send-email-rppt@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-09-14_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=3 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=458 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809140129 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
mm: remove bootmem allocator
|
expand
|
diff --git a/arch/x86/xen/p2m.c b/arch/x86/xen/p2m.c index d6d74ef..5de761b 100644 --- a/arch/x86/xen/p2m.c +++ b/arch/x86/xen/p2m.c @@ -182,7 +182,7 @@ static void p2m_init_identity(unsigned long *p2m, unsigned long pfn) static void * __ref alloc_p2m_page(void) { if (unlikely(!slab_is_available())) - return alloc_bootmem_align(PAGE_SIZE, PAGE_SIZE); + return memblock_alloc(PAGE_SIZE, PAGE_SIZE); return (void *)__get_free_page(GFP_KERNEL); }