Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp774992pxb; Tue, 5 Apr 2022 22:48:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwH2XmsFvZfagivEuAt1cC4N4GyIFKvzGmn3Epve78X3SOtUWqMIggaBaz0cv9QA2IqW8DH X-Received: by 2002:a17:90b:4d85:b0:1c7:3933:d810 with SMTP id oj5-20020a17090b4d8500b001c73933d810mr8121434pjb.129.1649224124587; Tue, 05 Apr 2022 22:48:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649224124; cv=none; d=google.com; s=arc-20160816; b=v/ue2yS9EVdceeOhkZZNCVavQkqJtwUrzTMwpQzZ1uH1arCADEusfDZC/eEPudEM1R gHah0NXWcP0q40lF9Tj0Vztqo0cPleQP0f6+LP/hvaIt/jApyLtU2NL//ZzyanJxO6/g veoC4sjZhKfWFQ0gWhQt50d1njzEEGkY16e6MsqbE5drID8tgHEkSXvtSdevCZEQXbZv 2gT6qIGpETrObKsYm8BYzV/E9EWnsoYz3TKWErpDbuB9zxpxPJXSPEoNsbUDGdWN3rH2 LsSHeteETZ/0SHWc4GTzJarToFzbdaV0rDY8m/FlemWzUXhi+QjQeepmIK22IEnEl+MC btPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=cId+MZJuZjg1VAtpgBUjmnKtY6Z6IBuax4FYncAeI3c=; b=MUeN78WfsbSRmdXAkmbF9fK1goeHiM62mMF1EXiOk0CgbY+Jtv828imBANdhFlb9xJ zL93WzGLBQb1vLE/tqD5ZwmjNPaOw8l/7qj4pOFnb+d8WuHds9FCSCioG+WnrTAS+/85 lhyjmexPQ3vv8cu0Nz4/p6Vii8DhKBt6mTFb1fVB3+GrmfQZ7RNqNugwxtPuy/vKjTEJ WPBDtdQFfvvvNe5P8AISaWQSbhVaFTZofZ01uFSzUjNE7hoSqC8Mg3wV0ESoceLv2NqW za2Fs8R34fg8ueBrO7e86dien8z1NLTczGsVbN9uBdpSXMJyT86G1+3R/u/do9BJ4Vot 14AQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id gt14-20020a17090af2ce00b001c72b4ee095si4164096pjb.11.2022.04.05.22.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 22:48:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 09CD54994B9; Tue, 5 Apr 2022 22:21:11 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1835789AbiDFAd3 (ORCPT + 99 others); Tue, 5 Apr 2022 20:33:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355719AbiDELz0 (ORCPT ); Tue, 5 Apr 2022 07:55:26 -0400 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9916A276; Tue, 5 Apr 2022 04:12:45 -0700 (PDT) Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1nbh70-0007Zp-00; Tue, 05 Apr 2022 13:12:38 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 23706C4E65; Tue, 5 Apr 2022 12:45:06 +0200 (CEST) Date: Tue, 5 Apr 2022 12:45:06 +0200 From: Thomas Bogendoerfer To: "Maciej W. Rozycki" Cc: Andrew Powers-Holmes , yaliang.wang@windriver.com, rppt@kernel.org, huangpei@loongson.cn, Andrew Morton , kumba@gentoo.org, Geert Uytterhoeven , anshuman.khandual@arm.com, penberg@kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Greg KH Subject: Re: [PATCH] MIPS: pgalloc: fix memory leak caused by pgd_free() Message-ID: <20220405104506.GA17085@alpha.franken.de> References: <20220310113116.2068859-1-yaliang.wang@windriver.com> <9cc88b1c-8a8c-95ea-2cf7-31be3b771495@omnom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, Apr 05, 2022 at 10:42:21AM +0100, Maciej W. Rozycki wrote: > On Mon, 4 Apr 2022, Andrew Powers-Holmes wrote: > > > Would the best way to get this merged into 5.10/15 (and maybe .16 just > > for good measure) be to email the stable team (since it's already in > > Linus' tree)? Documentation/process/stable-kernel-rules seems to say > > yes, but I'd like to avoid stepping on anyone's toes given that it's not > > my patch. > > You seem the most severely affected so far, so why not act in your best > interest? I think option #2 applies here and seems quite straightforward > to follow, referring commit 2bc5bab9a763 and using your use case as the > justification. It doesn't have to be the author to request a backport. > > NB I think it has to be backported to all the stable branches made since > the original breakage; i.e. v5.9+ (I haven't kept track of what they are). the fix has a Fixes tag so it will usually ported to stable/longterm kernels. I already saw it in Greg's patch bombs. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]