From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2AE18C433EF for ; Thu, 16 Sep 2021 06:22:58 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id C1A2260E76 for ; Thu, 16 Sep 2021 06:22:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C1A2260E76 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 1D15F900002; Thu, 16 Sep 2021 02:22:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 182256B0072; Thu, 16 Sep 2021 02:22:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 04A6E900002; Thu, 16 Sep 2021 02:22:57 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0029.hostedemail.com [216.40.44.29]) by kanga.kvack.org (Postfix) with ESMTP id E86B56B0071 for ; Thu, 16 Sep 2021 02:22:56 -0400 (EDT) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 7BDBA182321A0 for ; Thu, 16 Sep 2021 06:22:56 +0000 (UTC) X-FDA: 78592443552.24.9545C05 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf29.hostedemail.com (Postfix) with ESMTP id 2DE809000253 for ; Thu, 16 Sep 2021 06:22:56 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 0C7F2611CA; Thu, 16 Sep 2021 06:22:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631773375; bh=y6i0mll5ycxRMhkwuLJkyH6J5MoI0QZBK20JbH3dz9g=; h=From:To:Cc:Subject:Date:From; b=KEOf6KPgaWriDu+CU7mne9sCLxWqyW2K49EDc53xYCbpQhIf05jqhtEQJcwg0SRep yLEuZEmduewlxrw8mLCzu4wEQoexPClnCWdApAsmqsc/B7DiovxEeCtyYdaMCSQsto fdfzDWP2GwpWnd78PBeKPrt5HoVGFgbytTUb1v7EtRxxxNH31nTFXqNS/VPHHkdvR1 nrO7kNNTeAcq5KzqiE5wTV+N7c7J0gOv33hbD1CejvZpWJ3DCwigeMLlvLRtwuSPc/ yZurBjq1S6Tc8z3zIvp7vyvc0MLsIU0g4PxMtMsZrsK5RO/yBq/cIOHqF+Y2WFFATc 85Bgle/hANiLg== From: Masami Hiramatsu To: Steven Rostedt Cc: Linus Torvalds , Mike Rapoport , Andrew Morton , LKML , Ingo Molnar , Masami Hiramatsu , Linux-MM , Vlastimil Babka Subject: [PATCH v4 0/4] bootconfig: Fixes to bootconfig memory management etc. Date: Thu, 16 Sep 2021 15:22:52 +0900 Message-Id: <163177337229.682186.7065313475385716631.stgit@devnote2> X-Mailer: git-send-email 2.25.1 User-Agent: StGit/0.19 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=KEOf6KPg; spf=pass (imf29.hostedemail.com: domain of mhiramat@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=mhiramat@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-Stat-Signature: 5xgrx8xdsncz5akhn9tc1xmauew753br X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 2DE809000253 X-HE-Tag: 1631773376-743403 Content-Transfer-Encoding: quoted-printable 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: Hi Steve, Here are the 4th version of the series to fix bootconfig memory=20 management issues and API cleanup. In this version, I added patches to move the memory allocation=20 for the bootconfig in xbc_init() [2/4], add xbc_get_info()[3/4], and rename xbc_destroy_all()[4/4]. Thank you, --- Masami Hiramatsu (4): bootconfig: init: Fix memblock leak in xbc_make_cmdline() bootconfig: Allocate xbc_data inside xbc_init() bootconfig: Add xbc_get_info() for the node information bootconfig: Rename xbc_destroy_all() to xbc_fini() include/linux/bootconfig.h | 6 +++- init/main.c | 17 ++++-------- lib/bootconfig.c | 60 +++++++++++++++++++++++++++++++++-----= ------ tools/bootconfig/main.c | 9 ++++--- 4 files changed, 59 insertions(+), 33 deletions(-) --=20 Masami Hiramatsu (Linaro)