Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4111323imu; Sat, 19 Jan 2019 02:36:31 -0800 (PST) X-Google-Smtp-Source: ALg8bN6N62BEP6NLu4yuR3dOEwLsooBu5JXmpix69QUORTBlyLkTCABFxSRBXzZOs5YPrHF95E44 X-Received: by 2002:a63:ea15:: with SMTP id c21mr20100091pgi.361.1547894191102; Sat, 19 Jan 2019 02:36:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547894191; cv=none; d=google.com; s=arc-20160816; b=eop/EF5lxNu1/nlJWIlbs26L+CcPRwdYaM0IedCq1m3sxeFF+KvTPZxTMGoMUi8wv7 3f8FvDe8lUlGXvOi0ox/3gOsnqxzphfeJIHr0egBHI82sQGspTZRhoHwcs/xEMujZfmZ A3YHrtpuR1Of2Ju/IkfJc9y8lDGVi26quQE4kRAGuVpyeYpnf6PXrOW4oaOoB6gtbQrU AY+q/BLCQ7VWkKdfz2dkcxxyTsr3kQni2SHSqg4+tq6DeuRqIFkJFDacknSomt+v+A72 yt7jMcLAcXlhZ9k+lnU4WaN5eBsi25HwRgDIqyzP5aXIdn7Br53ECzljOt02k8PO53n8 kfPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=CkUmWDBjCMtfVKlV4ecOQV/Ujv3/pkXiRQoWHg8eKiI=; b=k3/tEObd+FQpDOUoGdFDCNMJHoKPLkEOR7yPu80ulxJ5+HDwc4XWVotXSLOkMOW4vR Hfm/yEJ+IODfa43aBH2lSDCt1Efr7dVB2mB+zQJhNPpXTm1rtdmGZw5jNjHVk2x1m8Zq M3FNWFSNWg6Ljsl9PXvydnO7Rldc3An7RV7zhFLfJExKmtPcCeAz+m5BlfnIYdr2AGT5 9XflSKxGWAyKF9KiorEfLRJ/l4GaHrlt/PDYA6pCbr90DoVrjeIl0M/EECv82kaUA4Tj Jtq51MFt9J1fDshZ01A7+g8Dt+dJGIfzPgnF5U9CiRIMovp5bCu+Otk6GWqFtrYXv41K Qoqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b="t/VVmGyK"; 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 a17si6885130pgv.456.2019.01.19.02.36.12; Sat, 19 Jan 2019 02:36:31 -0800 (PST) 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=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b="t/VVmGyK"; 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 S1727806AbfASKe4 (ORCPT + 99 others); Sat, 19 Jan 2019 05:34:56 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:45539 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726822AbfASKe4 (ORCPT ); Sat, 19 Jan 2019 05:34:56 -0500 Received: by mail-wr1-f67.google.com with SMTP id t6so17918227wrr.12 for ; Sat, 19 Jan 2019 02:34:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CkUmWDBjCMtfVKlV4ecOQV/Ujv3/pkXiRQoWHg8eKiI=; b=t/VVmGyK+9vB5Atv7O4bhKJCEAmlqnbInUcXPKuklH33fe3/T7hs5iUr7bJodB25eO 9xlpqtK8R1DnhE9vbFLNnKXnro1kWh6xk0Z5Dwb2c2B+1yJNfYJIuJMECygN1MWylaCr u2D1vWep9fPaT92L5hDPzIE5neCrKmGIyoZehfy8MK/WD215qOt2B6AUflzQ5ap1L4AK Us2C8YnJp1obfvYim7a5VH2d/fg0DJJXW/6JLl0SBAxgU8r8o8cCa6OPkNJBlb+eOGxx XWsk/CNANv9eOzU+h1euPhLosmT8H2mNvch1FcT20juBlRp916tvuwdXx7Moh3H1g6Cj re5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CkUmWDBjCMtfVKlV4ecOQV/Ujv3/pkXiRQoWHg8eKiI=; b=HYzFSW0w5aTSQT14qQqQQHmTAQRbJbvuHktBAo7nsvdLOwZoHDM0oBaokESHsCTLXa BE7gCtOJZKQ8t9lHe8F7nOqSXnGYxbPRIO1SJN6+cxfZdLTYpx6B8ixCfZFaLbYbEhet hxX2sr/AlhjtSjDUARofE/8bGU3FFjwrTbAx5Gu7NDuUM/56EgpKSF0YuI/EzZ83u1c1 D37CiAM+vk2GGGX0Leg8UPlKBK7srZSP/tGqIfdB8Hw6McLqVIU99jemWRWkIGP1M4Tz YqVRImQmjrfVeTIc+3Bub5P2eNF3+SMiMjmV47YbesmswBripVFNCwxLGaG8Wtz54ry1 e1nw== X-Gm-Message-State: AJcUukcbMJ3rfHviEs0L48xfDN6TmAhA4GB8jSIwX4CE08v3yv+CWnhl 9PO79Ct/fJZVi5F7joQMJm2Uzy3m7bbyzsifn1Qa9Q== X-Received: by 2002:adf:8506:: with SMTP id 6mr21021554wrh.128.1547894094415; Sat, 19 Jan 2019 02:34:54 -0800 (PST) MIME-Version: 1.0 References: <20190107161047.10516-1-anup@brainfault.org> <20190107161047.10516-2-anup@brainfault.org> <20190115134336.GB13216@infradead.org> In-Reply-To: <20190115134336.GB13216@infradead.org> From: Anup Patel Date: Sat, 19 Jan 2019 16:04:43 +0530 Message-ID: Subject: Re: [PATCH 1/5] RISC-V: Move free_initrd_mem() to kernel/setup.c To: Christoph Hellwig Cc: Palmer Dabbelt , Albert Ou , Anup Patel , "linux-kernel@vger.kernel.org List" , Atish Patra , Paul Walmsley , linux-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 15, 2019 at 7:13 PM Christoph Hellwig wrote: > > On Mon, Jan 07, 2019 at 09:40:43PM +0530, Anup Patel wrote: > > From: Anup Patel > > > > We move free_initrd_mem() to kernel/setup.c so that all initrd > > related functions are in one place. > > > > Signed-off-by: Anup Patel > > Looks fine: > > Reviewed-by: Christoph Hellwig > > Talking about free_initrd_mem - don't we need to call free_reserved_area > to actually release the memory? Yes, we should. Thanks for pointing. I will include separate patch for it. Thanks, Anup