Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4943254imu; Tue, 15 Jan 2019 08:32:09 -0800 (PST) X-Google-Smtp-Source: ALg8bN7RTlN+MEjvf+OLjDbiPT9nLW6oBHIVC/sk7KSnSobiFwsgBhJbyRPgH4D1rn5YQy+zHqbY X-Received: by 2002:a63:c0f:: with SMTP id b15mr4592591pgl.314.1547569929104; Tue, 15 Jan 2019 08:32:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547569929; cv=none; d=google.com; s=arc-20160816; b=AWD9BrKU3UCgOWtQrqPlhHydRuYhkWcrzJETopRgx6dgaZnE54hDnYlZsgCro594q6 KlB06J/KAuGeci7ueom+fGoByz5q1VdDdycS9h9y6LdBh8PyHTbC6LWcAhGwkyDx910o VZ+GYnXbJImAoonKZrw5inXMg54Kkj3Y11vYrDMEaVpXgrc758cLCbd94VQrcE5BOimU zXXMGJ4IcvuAlP1VI56Cm5CwXTvCGpmfDIsb44pHab/yD38YLl8AFOo3mRi0eYtwtVO8 hEGGFbGGUI3VgmfnbQOc6ykXXgg7IrX/8QWowvzbZp/ExCIKQp4LrO9dseDfmltffgN2 Ec4A== 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:dkim-signature; bh=Czdbjv8mj+irDWUYzMDo9eeAPR9Jw7uPIpYVK4riaRE=; b=s7o/v7o4cfk0FNGObxYjS+nK+ck5u5BCFsiDWlhU9+/yw6hQdItWAMAYHTmdodklan B6JfW0axeRs00koskTtjw9s8+iW++ph3l4vNSTAGeLXKuHqL7tm2ppBaLESzi974dQH5 TPVGJCPALcSpU6tm5ysTRHnuadY3fzuUtI70ZbQZAMWaTr4htQ8t8dEe9CJxk22RC7hi EsN2Vwl6T0q7qtl6SXKsq+Lb94CAbOKOG7Xm2LlARaH1hyVVEyDu3xYoRENdvyXZ5zyW EdbDBLzhzM0MGneL1z2P9uxcjw3uIONdicaEIBCmnsPUF0w8/bYKcEBBfFFXiB9WfnMu AoQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PIeRinBZ; 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 l13si3588201pgi.46.2019.01.15.08.31.53; Tue, 15 Jan 2019 08:32:09 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PIeRinBZ; 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 S1729871AbfAONnj (ORCPT + 99 others); Tue, 15 Jan 2019 08:43:39 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:59700 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729849AbfAONnh (ORCPT ); Tue, 15 Jan 2019 08:43:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Czdbjv8mj+irDWUYzMDo9eeAPR9Jw7uPIpYVK4riaRE=; b=PIeRinBZct/6srcJIvEUsYxjZ Ci9YBtTfTnF8Vo5FTXgxcuGnEE7oBJPF6lvKwHJLtH0sN966KFrUXdWTNX30Ji1Zht8CwDkRQyiDz zSEs0QvZlXChi5y4O3Ls8TkHAkQiPJhYUHmDEI9zosapxgF8OQNKVZVhTVTcmlO5JVPHUiW6rAEl8 4xKoFx1DuVOgErI+jj0XfCM0t1dVOjLMfk76OqHSvy9pLC1J+5EUlwI/OY0Mk0ayy89SnHU3gRdXX U7YWahXyezFCJGQ+RNDf5u5Iek+8mL5cXep+ESbTOe3FoImHmWQIWiN3b+hLrDi5Q8j+qOXv/Uy3L Y1MPmYD6g==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gjP0C-0005hL-5x; Tue, 15 Jan 2019 13:43:36 +0000 Date: Tue, 15 Jan 2019 05:43:36 -0800 From: Christoph Hellwig To: Anup Patel Cc: Palmer Dabbelt , Albert Ou , Anup Patel , linux-kernel@vger.kernel.org, Christoph Hellwig , Atish Patra , Paul Walmsley , linux-riscv@lists.infradead.org Subject: Re: [PATCH 1/5] RISC-V: Move free_initrd_mem() to kernel/setup.c Message-ID: <20190115134336.GB13216@infradead.org> References: <20190107161047.10516-1-anup@brainfault.org> <20190107161047.10516-2-anup@brainfault.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190107161047.10516-2-anup@brainfault.org> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?