Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3523348imm; Mon, 6 Aug 2018 06:21:20 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe+heofGG30h4kZeSUPSP4e2NR6Lb5FGysa4Ac5Gld75D3g3o0sD4lPGV9rUR5AkmPzoT43 X-Received: by 2002:a65:5141:: with SMTP id g1-v6mr14395423pgq.418.1533561680611; Mon, 06 Aug 2018 06:21:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533561680; cv=none; d=google.com; s=arc-20160816; b=WlVozm2akKb0ZHsCrnp2vqrKMHsmCV8w8ynVewDbRYi59LqgkXmQmRXBFlui6RUkBj am2YXEmfotdyYm4f9MZvg0W+ZOGAQZpdyvBfCV4+Dyt6xnCXD0Zbi2IrGPvEVrKe0Bv5 OXN0jIjq0wbu+flVg9lU47vy6aiFPjLHdX4Tk5Yi0uW0/SzEhbze5vFoeQ4Tp8uIOU3N wjQ+soxP64fjLvzblt8VQwj2/BIXMp00biIrNpJ75///bieLwijiOdqphqsBqMLNCziD s6L5A++wY0pwpxNdmUmP1/VHpoxDGUGK4TUdSkeZ3xQ33KyCc/lELezuHdL9QEbKGJ57 I/Wg== 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:arc-authentication-results; bh=rmjDWVPuZJfIwtKhVppaiKQLLK9iMw1k73DA1x2GnnM=; b=b/DzniBiTO0qTw4hnTIvXtFT4suflL+Mw/XYwJMizXTYEEHBx6AaNc2ueE9TLmoeqh 7tbVpztT+rX4eYMyatQh/gR5JhtRl/07A4XNiOM9yPs/s4YzVQlbZZKSjV6hqsXzaAgy M/wmQOkHL38/U1BCozQAPxQPk72uw2cqljWlKm8CVs2LRKV7jAuE8xlh/RDDnv0m0Wcq +Tk4C+PcJPs5rveQ0y0TYdhaE6Oc383gZjxTKet+uaAILtmJ2HQCwLHaEwGdI9KkYUaR bW0EcRSM3fofaAPPcQtjTN/kZ4kqQOUyge5AaJRQ+K3Iz5IB7nB2F5spoK/RK6Rsd2H8 Us+w== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si9674850plj.411.2018.08.06.06.21.05; Mon, 06 Aug 2018 06:21:20 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732371AbeHFPSI (ORCPT + 99 others); Mon, 6 Aug 2018 11:18:08 -0400 Received: from asavdk4.altibox.net ([109.247.116.15]:42787 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727340AbeHFPSH (ORCPT ); Mon, 6 Aug 2018 11:18:07 -0400 Received: from ravnborg.org (unknown [158.248.196.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by asavdk4.altibox.net (Postfix) with ESMTPS id C004C80377; Mon, 6 Aug 2018 15:09:03 +0200 (CEST) Date: Mon, 6 Aug 2018 15:09:02 +0200 From: Sam Ravnborg To: Mike Rapoport Cc: "David S. Miller" , Michal Hocko , sparclinux@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/3] sparc32: split ramdisk detection and reservation to a helper function Message-ID: <20180806130902.GB23652@ravnborg.org> References: <1533552755-16679-1-git-send-email-rppt@linux.vnet.ibm.com> <1533552755-16679-4-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: <1533552755-16679-4-git-send-email-rppt@linux.vnet.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=UpRNyd4B c=1 sm=1 tr=0 a=ddpE2eP9Sid01c7MzoqXPA==:117 a=ddpE2eP9Sid01c7MzoqXPA==:17 a=kj9zAlcOel0A:10 a=VnNF1IyMAAAA:8 a=7gkXJVJtAAAA:8 a=pj4DBPmF0T3MQ-UG1EYA:9 a=CjuIK1q_8ugA:10 a=E9Po1WZjFZOl8hwRPBS3:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 06, 2018 at 01:52:35PM +0300, Mike Rapoport wrote: > The detection and reservation of ramdisk memory were separated to allow > bootmem bitmap initialization after the ramdisk boundaries are detected. > Since the bootmem initialization is removed, the reservation of ramdisk > memory is done immediately after its boundaries are found. > > Split the entire block into a separate helper function. > > Signed-off-by: Mike Rapoport > Suggested-by: Sam Ravnborg Reviewed-by: Sam Ravnborg