Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp671634imj; Wed, 13 Feb 2019 15:24:58 -0800 (PST) X-Google-Smtp-Source: AHgI3IZU+zkW4as1JlTBqLgVvQ7kvjUabaqq25lqUwWiT9kXirj+8ALjhA9Cj9VmiIkuCR+64U2r X-Received: by 2002:a17:902:3381:: with SMTP id b1mr767259plc.13.1550100298337; Wed, 13 Feb 2019 15:24:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550100298; cv=none; d=google.com; s=arc-20160816; b=UHa/DOyqy2xS5MDj63q2L3v+LJNY4KcrN0fVHBz5FuHUcEjoXG7XjvA8suz6FJ9PgD zdcMwxz1Ch0qwjI6rVQJgdMFxLu7RDhrl0Lky8Agkk7XcXsC4VKZLgGP8stJkCbcNqfd o/vfAVxiuGxZ6jrAzsxRj8vwiZMUPIuEzq4X7p7Oosc3+oGhoUl/YhqbgrvpbYfg2gNX oUYxkTlKddFddd3tffv9+Dg00UK9JJqBP+h9D2HLwQAhVlDMtPtt91wDSK4wwKs4/bb0 VrMPi8/cYseDwabS6fW8JzBICWMToliFHlL+fzI1EP04TOKleUZTFb3VFk1HM7QGoYRF 5DgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date; bh=VzNNpHAOHL10zU+Hp8uHnBk8Y2UKGCJLFGTO8JEDLkw=; b=k4Fl+ZiiP9mRMisnLRbD+vSVvt3hD//n2zB0TgEL2UMiBl/OZyLQF+ptE0F15Yp0WI MEZxlFmPD/T0SL62LaUbO/KTHS94BHrhaAdYi/x8MXd75bJGLuCQamiVFTH7GLgAFe0t 4kv/UXV4KYP+vHg5vAoAOPUCX7i/yH/rvssnfaxivluNqGkbNHAqvMtQbEZjivnv9ylw xieCG96cEiQngmyHAWvDGPsqkSTs0nGRteFP6II7LWpu9S75uSpoEoP+4bBCXsOgbBBg ethicBbv3Z8ckONMho/A1x4gVOyUizDbbesiaVRG9wJdUZC8DlN1aUasZBhjplqW25YG YJ9w== 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 130si630304pfy.262.2019.02.13.15.24.41; Wed, 13 Feb 2019 15:24:58 -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; 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393464AbfBMSGM (ORCPT + 99 others); Wed, 13 Feb 2019 13:06:12 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:60088 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729522AbfBMSGM (ORCPT ); Wed, 13 Feb 2019 13:06:12 -0500 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1DHx1mu018865 for ; Wed, 13 Feb 2019 13:06:11 -0500 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0a-001b2d01.pphosted.com with ESMTP id 2qmqp01g0s-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 13 Feb 2019 13:06:10 -0500 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 13 Feb 2019 18:06:08 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp07.uk.ibm.com (192.168.101.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 13 Feb 2019 18:06:04 -0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x1DI63AM2228508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 13 Feb 2019 18:06:03 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 821EF4C05E; Wed, 13 Feb 2019 18:06:03 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 15D864C04A; Wed, 13 Feb 2019 18:06:01 +0000 (GMT) Received: from rapoport-lnx (unknown [9.148.207.163]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 13 Feb 2019 18:06:00 +0000 (GMT) Date: Wed, 13 Feb 2019 20:05:58 +0200 From: Mike Rapoport To: Christoph Hellwig Cc: Anup Patel , Palmer Dabbelt , Albert Ou , Atish Patra , Paul Walmsley , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Laura Abbott , CHANDAN VN , Will Deacon Subject: Re: [PATCH v4 6/6] RISC-V: Free-up initrd in free_initrd_mem() References: <20190213063127.28703-1-anup.patel@wdc.com> <20190213063127.28703-7-anup.patel@wdc.com> <20190213064419.GA27012@infradead.org> <20190213073835.GA18267@rapoport-lnx> <20190213175415.GA11635@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190213175415.GA11635@infradead.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-TM-AS-GCONF: 00 x-cbid: 19021318-0028-0000-0000-000003483187 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19021318-0029-0000-0000-000024065633 Message-Id: <20190213180557.GA15270@rapoport-lnx> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-13_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=770 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902130126 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 13, 2019 at 09:54:15AM -0800, Christoph Hellwig wrote: > On Wed, Feb 13, 2019 at 09:38:36AM +0200, Mike Rapoport wrote: > > memblock_free() is has no real effect at this point, no idea why arm64 > > calls it. > > Looks like the call was added fairly recently by: > > commit 05c58752f9dce11e396676eb731a620541590ed0 > Author: CHANDAN VN > Date: Mon Apr 30 09:50:18 2018 +0530 > > arm64: To remove initrd reserved area entry from memblock > > which claims it is to work around the initrd being displayed in > /sys/kernel/debug/memblock/reserved. > > I really think we need to have common behavior there - either do this > for all architectures or none. I've just sent a series that > consolidates all but a handful of the free_initrd_mem, so implementing > any common behavior on top of that would be good. I've just started to look into it today :) I'll reply on that thread. -- Sincerely yours, Mike.