Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp169271pxb; Tue, 12 Apr 2022 20:26:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdeDso+PFuk8yghx90MRTnlUGdVf8P0OJnhMpYJ83lEkwxg6l4tD6lozbmxq9eLhS8HqfK X-Received: by 2002:aa7:c790:0:b0:41d:7e0f:f15c with SMTP id n16-20020aa7c790000000b0041d7e0ff15cmr12486792eds.129.1649820369831; Tue, 12 Apr 2022 20:26:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649820369; cv=none; d=google.com; s=arc-20160816; b=SfjfeJttVzmfvuSWGsFD4SoLI7r8pB+nDxeBWyIBObsuIJFQqK6bzGmCyF2yj3nFj6 eBnxyQMzDCo50hQbsY42glUzqguUzMBdHSL9WY/sctVk8JYwnBnfQDXyYL7fuK0yBRR7 faiyqtXdx8DDuWOFGzSXdgX6UojqT7m5APqOvWUl5SAGFYhrnN6jvGXF7YIGwiyjQ3pZ 0Equyfu/0ZZeswBgSxt+9qIUoTljVgfvyyChHudnZ5bOV+N/x7ZsLAjmxkwXgE8XhLOz 7m+H3WFnJQWRmYOBocipswX/ZQO8DKRWnDP7GpJMlPOLINCYFTD9ngANqbyLxX8OvK9b 4D9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=sW6a1V1z6jsxz0kNN5RNObwiYmSfpPw/NDotLZVq5xk=; b=Qz35uOHf0keVjhvkE+/BC0LnBq3Jiw0oT6MnG32TdTf7e4iso5tjI197Lk5iIczrHa xNn7xbSpj/CGt5s7xf1mM3QbD6ryoYyVboE3z1BvMieSvh6I0P2BuzXx/+A7WIj9v0xh txKOAc1oyQafPW0AZJeRnzbW4Tkm5/NzniD1VROs++ZvnV5mEf5zztTF+DenHIxxTdcJ o2K9gSHFeLhVTUi5xPk3UW3FGw84XocpvZmCn22aSIrEp7FtC4QhNl/utu9aAWnOEDps XKZk5m8w0FAlGrhUxd1KxBhy3aDCXVbrS0thZfzA9TNT7fVqHioW8pugcgRVvvgrms4W KQxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=eaJ8xww8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds13-20020a170907724d00b006e8c13a790fsi1641413ejc.860.2022.04.12.20.25.35; Tue, 12 Apr 2022 20:26:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=eaJ8xww8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231674AbiDMCaA (ORCPT + 99 others); Tue, 12 Apr 2022 22:30:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbiDMC35 (ORCPT ); Tue, 12 Apr 2022 22:29:57 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52EFA275E3 for ; Tue, 12 Apr 2022 19:27:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0A735B820DC for ; Wed, 13 Apr 2022 02:27:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55381C385A1; Wed, 13 Apr 2022 02:27:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1649816855; bh=SHqh02ft77KfGvJSZLpsZAh7wp0kHXgjLIkp1pQYEFI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=eaJ8xww8f0q5qGZAVjoTnMBbiJVk1fwtAEtK1ZRrcixBeYMNwJDdemtNdbcxFwEmz vOXJyih2SNULCgNREYAZLk3hou/0sajRHMmmuViCwlDwSTNGHTVeM06LHMkfj5miwE Viyzi6GkXA3a8BpaH+Hg7djhDBG0EbbW2ZgvTLos= Date: Tue, 12 Apr 2022 19:27:34 -0700 From: Andrew Morton To: Baoquan He Cc: x86@kernel.org, linux-kernel@vger.kernel.org, kexec@lists.infradead.org, dyoung@redhat.com, linux-mm@kvack.org Subject: Re: [PATCH v2 0/2] x86/kexec: fix memory leak of elf header buffer Message-Id: <20220412192734.fcda8988d189c8e2e2830b03@linux-foundation.org> In-Reply-To: References: <20220223113225.63106-1-bhe@redhat.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 31 Mar 2022 19:32:17 +0800 Baoquan He wrote: > Hi Andrew, > > On 02/23/22 at 07:32pm, Baoquan He wrote: > > The memory leak is reported by kmemleak detector, has been existing > > for very long time. It casue much memory loss on large machine > > with huge memory hotplug which will trigger kdump kernel reloading > > many times, with kexec_file_load interface. > > Could you merge these two patches? Or should I ping x86 maintainers to > take them? Ah, sorry, I tend to fall asleep if there's "x86" in the subject. Poking a sleeping Andrew is always the right thing to do. Shall look at them.