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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C971AC433EF for ; Mon, 28 Feb 2022 10:58:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235473AbiB1K6x (ORCPT ); Mon, 28 Feb 2022 05:58:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235477AbiB1K6s (ORCPT ); Mon, 28 Feb 2022 05:58:48 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D23661BEA2 for ; Mon, 28 Feb 2022 02:55:55 -0800 (PST) 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 65A9BB80FD3 for ; Mon, 28 Feb 2022 10:55:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A87B2C340EE; Mon, 28 Feb 2022 10:55:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1646045753; bh=z7ysCiLXhrS2WEzeDfaXg7LZqNAbhZDb/cLFf8hhZ68=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RSFPgBa9sMx6mEcHkCps9VW6ctrcIBr1grXUtD9oOSgJG9IRDJj0aymtanZEtCQ4V Gq/HESptN+mB1A7ysH7bxFIChBUTqxdlUP7FYQmIElUl4N4iFabwPXPMIPqodblwbX kJMwwYpgEw9NQSUvq3e6ickobDe7WeYnDZkOidM8= Date: Mon, 28 Feb 2022 11:55:50 +0100 From: Greg KH To: Mike Rapoport Cc: linmiaohe@huawei.com, stable@vger.kernel.org Subject: Re: FAILED: patch "[PATCH] memblock: use kfree() to release kmalloced memblock regions" failed to apply to 5.15-stable tree Message-ID: References: <1646038723220154@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Mon, Feb 28, 2022 at 11:34:16AM +0200, Mike Rapoport wrote: > On Mon, Feb 28, 2022 at 09:58:43AM +0100, gregkh@linuxfoundation.org wrote: > > > > The patch below does not apply to the 5.15-stable tree. > > If someone wants it applied there, or to any other stable or longterm > > tree, then please email the backport, including the original git commit > > id to . > > This version applies to 5.15 and should apply to older version as well. > > >From d4895990ebea634715d2dcf54121c5ae5a6612bc Mon Sep 17 00:00:00 2001 > From: Miaohe Lin > Date: Thu, 17 Feb 2022 22:53:27 +0800 > Subject: [PATCH] memblock: use kfree() to release kmalloced memblock regions > > memblock.{reserved,memory}.regions may be allocated using kmalloc() in > memblock_double_array(). Use kfree() to release these kmalloced regions > indicated by memblock_{reserved,memory}_in_slab. > > Signed-off-by: Miaohe Lin > Fixes: 3010f876500f ("mm: discard memblock data later") > Signed-off-by: Mike Rapoport > --- > mm/memblock.c | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) Now queued up, thanks. greg k-h