Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3217947rdh; Thu, 28 Sep 2023 06:10:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEXPPUqxJLg/I5co3ERX5kf/u3dI4kESdLhNS19Cg7rPSfgrgPrbqk+ovbuWQ3wpZ4TJVFX X-Received: by 2002:a05:6a20:840d:b0:159:f884:4d6e with SMTP id c13-20020a056a20840d00b00159f8844d6emr1475027pzd.40.1695906654708; Thu, 28 Sep 2023 06:10:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695906654; cv=none; d=google.com; s=arc-20160816; b=VKNNvO33Nj6xgbWatVZe5YtN35bLaMLfPwaUUIPL4DmoxEZlSaJs83+IfXfBZhpLaK 4ZsvRp7+/Mr1Lo45dPooHSlPE12Ko7RrJVJ4mB+Y0C5xODmSnXCP2CdHPulSg4c/zQr9 Zdh6DtRBRIwT7hboTLt/pdOzIF6ZXxplJn+3BgCWerN0EqhLhZPAxuq2Tx0NzrxqZ2Qs a7LgkMFtfslUGIQxJ6HOD8mEngaEktOxSNfxy7hyHftfjU3cIL0tVb0o1bLva3Fsq0PP oSm6rscRyNKCxSgHeo/4VwgepJMvZvmVi5emNFPobETDLax31kAmTtZ0AkyLl/+p1M5a luJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:reply-to :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=HyO/J4ArQJWAwJ/vojuUdGo4pJ9PP+I/B56wi9YMwHs=; fh=e5jdQKKoJedJ/d+x0KvlKmDefMax29/5kpchh2NYrgY=; b=SfEU50SnJQPC5d6r+7icd08f/K9sGA31bNAdyHarIghqqTX9Bpi7Q/dEZV7jqWzmJv ZGr2jP71OSlpyaWTE4nM8qECqL0QOEiZzVtaOzrdTToUwRljg1wgl664nKWLLvpQoxHY ShK/8/Ci8rOAqBDCzhMUAQc0v48ktAq0bh+F+m2chtH1iiPftZbnHXz1h68aBwB+tkD4 RbYbZG3bdKg2+FvhkFMge7PgqIXaYnTasjZD3kQa042KG+XPvu+nEPqADa/z4gwlQxJ4 VW3SQfzf80zoXRLavS9hF8gq1Xsn7wTMXZ7z/r1o0EepqKJnPrKkIaI8DhrEvmdHU6z+ MpUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id n6-20020a170902d2c600b001c43cd8b2d5si18248167plc.592.2023.09.28.06.10.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 06:10:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 74268807C6EE; Thu, 28 Sep 2023 05:55:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232548AbjI1Mzm (ORCPT + 99 others); Thu, 28 Sep 2023 08:55:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231542AbjI1Mzk (ORCPT ); Thu, 28 Sep 2023 08:55:40 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1F6B19B for ; Thu, 28 Sep 2023 05:55:38 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1qlqYK-0002Ga-Bp; Thu, 28 Sep 2023 14:55:36 +0200 Message-ID: <8343dcf3-96e9-4601-aaac-e0a80686586b@leemhuis.info> Date: Thu, 28 Sep 2023 14:55:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Fwd: kmalloc memory leak over time. Content-Language: en-US, de-DE To: Bagas Sanjaya , Kees Cook , Daniel Micay , Nick Desaulniers , Andrew Morton , freeze0985@gmail.com Cc: Linux Kernel Mailing List , Linux Regressions , Linux Memory Management List References: <4f01f302-9d59-4146-b7ff-0478c4bd94b1@gmail.com> From: "Linux regression tracking (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: <4f01f302-9d59-4146-b7ff-0478c4bd94b1@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1695905738;b6543d0d; X-HE-SMSGID: 1qlqYK-0002Ga-Bp X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 28 Sep 2023 05:55:44 -0700 (PDT) On 28.09.23 10:40, Bagas Sanjaya wrote: > > I notice a regression report on Bugzilla [1]. Quoting from it: @mm developers: feel free to ignore this, the user has Nvidia's driver loaded (see bugzilla; I'll ask to reproduce without it). Ciao, Thorsten >> Since 1st weak of Sept I have been observing memory leak in my system, so after doing a little big of digging I found out that the leak is caused by kmalloc. In Linux 6.5.3 memory leak would increase to nearly 50% of my ram over a period of 6-9 hours. In the Newer Linux 6.5.4 I am yet to observe that much memory leak(Haven't used my laptop for that long till now) but over a period of 3 hours I see 2.2GB reserved and it is not used by any program at all. this is just after 3 hours of usage on Linux 6.5.4. > > Later, the reporter (Cc'ed) narrowed down the version range, with > memory statistics: > >> 6.4 works fine I down graded to it before linux 6.5.4 was released. no memory leak. >> >> today i ran my laptop for 6 hours and 40 mins and this memory leak is still happening at same rate. >> >> total used free shared buff/cache available >> Mem: 15Gi 7.2Gi 2.8Gi 797Mi 6.4Gi 8.1Gi >> Swap: 0B 0B 0B >> Total: 15Gi 7.2Gi 2.8Gi > > See Bugzilla for the full thread. > > Anyway, I'm adding this regression to be tracked by regzbot: > > #regzbot introduced: v6.4..v6.5 https://bugzilla.kernel.org/show_bug.cgi?id=217943 > > Thanks. > > [1]: https://bugzilla.kernel.org/show_bug.cgi?id=217943 >