Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3522085pxb; Mon, 4 Apr 2022 19:46:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPOegBb+BAgPp50DqoaleZ/ROV5Hk/i2VKpUHPtyj2e8zmekX6l2MAeS+/CJGjX0cnLcYh X-Received: by 2002:a63:c14b:0:b0:398:f14d:8e49 with SMTP id p11-20020a63c14b000000b00398f14d8e49mr1042532pgi.604.1649126815928; Mon, 04 Apr 2022 19:46:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649126815; cv=none; d=google.com; s=arc-20160816; b=Wh/gbhm/D9+EYI/ADP0jGtrq0au6EeBF612JbQ7Zr3IWlgYQo+3WrVJQqHsEEw+DHe jLZTSaGTM+sVKO/rvc6+jQhTPDOQckVwXdA2Ymjue8sLUlsgfl4CYh94hH0z7tgQjX/R hgN4fP1bfA/F2BCLij1HHQ+6I68obUKDzMvdm95d44TGMPFfhh7gF12LoSrMRe+Rsiri O5zc8Kc2QQfO4ZPQDqRhqJYOckJFTw3H6wZFIuKXU0/7fb7zp7xDZXOdx9o2VdvYocEb Dofv7+MF/G5B5MpBQAxAH1CYUPct441eZntLVY86Hu90izWuMk0g52JrKNALiflZl3OW 340A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=Y7xccZIr9rbrQ+1fdWdfCNmPj/UsooRmO69110DaeWs=; b=qfk102XFEebuT4RtucZxdJqGm1UDcOJ5xGazQrSRUUdcoy0CGmf6XJVoaXYVvJM1tX QZv4mlHpI3aYr8eNMStfbEZuLwuuzjNh5PMDKAyAzkL91VZfnftSh9bQF01yIdUT8nWR dENC0mw00pnRSSmWMniXdbjRkq3LOmwAoG6YBmE34MzmvFo3JOUwCDB1Yrw/ULtN5vqJ 2zpas1zF4K4STKSVlEpgdYvO1JgP3oY9LiZWIsynYF0DTMMl9Ax80wRaeSpw6zua+sGh VZSYFO30g1Zz7dGDhWPSJN15rB1lsArDlBoM8qXUM2C+zkT9RFPT8rKlvyAWldZWKjJj HgYg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k184-20020a636fc1000000b003987c400511si12144368pgc.86.2022.04.04.19.46.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 19:46:55 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E83D33ECA56; Mon, 4 Apr 2022 18:09:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1387348AbiDDVnE (ORCPT + 99 others); Mon, 4 Apr 2022 17:43:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380720AbiDDVMW (ORCPT ); Mon, 4 Apr 2022 17:12:22 -0400 Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 171882F3B4; Mon, 4 Apr 2022 14:10:25 -0700 (PDT) Subject: Re: [PATCH] MIPS: pgalloc: fix memory leak caused by pgd_free() To: "Maciej W. Rozycki" , Andrew Holmes Cc: yaliang.wang@windriver.com, rppt@kernel.org, Thomas Bogendoerfer , huangpei@loongson.cn, Andrew Morton , Geert Uytterhoeven , anshuman.khandual@arm.com, penberg@kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Greg KH References: <20220310113116.2068859-1-yaliang.wang@windriver.com> <9cc88b1c-8a8c-95ea-2cf7-31be3b771495@omnom.net> From: Joshua Kinard Message-ID: <4094bbe0-27b0-d83b-3b22-36d0d53769b5@gentoo.org> Date: Mon, 4 Apr 2022 17:10:19 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 4/3/2022 06:37, Maciej W. Rozycki wrote: > On Sun, 3 Apr 2022, Andrew Holmes wrote: > >> MIPS64 has essentially been broken/unusable for 8 kernel releases, >> including two LTS kernels, since the original commit landed. Should >> there not have been CI/tests that caught this? It's pretty major! > > AFAIK the MIPS port is only maintained on the best effort basis nowadays > I'm afraid. I.e. it's enthusiasts investing their free time for the joy > of fiddling with things. So things are bound to break from time to time > and remain unnoticed for a while. We're doing our best, but our resources > are limited. > > Taking these limitations into account I think Thomas has been doing a > tremendous job maintaining the MIPS port, but he hasn't been cc-ed on the > submission of the original change and it's very easy to miss stuff in the > flood that has only been posted to a mailing list. > > Maciej > FWIW, hot off the presses is RFC9225: https://datatracker.ietf.org/doc/html/rfc9225 4. Best Current Practises 1. Authors MUST NOT implement bugs. 2. If bugs are introduced in code, they MUST be clearly documented. 3. When implementing specifications that are broken by design, it is RECOMMENDED to aggregate multiple smaller bugs into one larger bug. This will be easier to document: rather than having a lot of hard-to-track inconsequential bugs, there will be only a few easy-to-recognise significant bugs. 4. The aphorism "It's not a bug, it's a feature" is considered rude. 5. Assume all external input is the result of (a series of) bugs. (Especially in machine-to-machine applications such as implementations of network protocols.) 6. In fact, assume all internal inputs also are the result of bugs. -- Joshua Kinard Gentoo/MIPS kumba@gentoo.org rsa6144/5C63F4E3F5C6C943 2015-04-27 177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943 "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between." --Emperor Turhan, Centauri Republic