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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id E52DFE732CA for ; Thu, 28 Sep 2023 12:55:42 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 668058D00AF; Thu, 28 Sep 2023 08:55:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5EED08D0038; Thu, 28 Sep 2023 08:55:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4DD5F8D00AF; Thu, 28 Sep 2023 08:55:42 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 3A46F8D0038 for ; Thu, 28 Sep 2023 08:55:42 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 14A16160774 for ; Thu, 28 Sep 2023 12:55:42 +0000 (UTC) X-FDA: 81286002924.25.B6F5E69 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by imf19.hostedemail.com (Postfix) with ESMTP id 0D38E1A0017 for ; Thu, 28 Sep 2023 12:55:38 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=none; spf=pass (imf19.hostedemail.com: domain of regressions@leemhuis.info designates 80.237.130.52 as permitted sender) smtp.mailfrom=regressions@leemhuis.info; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1695905739; h=from:from:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HyO/J4ArQJWAwJ/vojuUdGo4pJ9PP+I/B56wi9YMwHs=; b=Nv0QxgSbMiIL9IQynrHnCzRNQRTRdFByiIai2dmqHGRLLJRUWKq/1Z8jqRqy56gC1HkiRG KLGNr6I3q8c2PoKqMH+MBjFoOghE1Pd2U3zwgeYE2slhiJ3QtboXOy6ivJdtd6b7/sUuwE 4S+op5MV/gBTHvlGolwVRyYgGZ0tNeo= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=none; spf=pass (imf19.hostedemail.com: domain of regressions@leemhuis.info designates 80.237.130.52 as permitted sender) smtp.mailfrom=regressions@leemhuis.info; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1695905739; a=rsa-sha256; cv=none; b=g0hskAxuY4ywHWY2wKuJ9A/v70uAyhCkqMVpZngm4ejbjZjgPt/+iw5tGWI2aopw/9b6W8 BBqHs9z1wpidb/gdd8SokV5Jp4p0D6Y5CMYcJUY0ffwBwSLqCzuwAH9kKuGK9gpiHH/VTv Yi4z8wBlb1hpVf5tcJUZKHhsplbkqfI= 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;1695905739;12f311b6; X-HE-SMSGID: 1qlqYK-0002Ga-Bp X-Rspamd-Queue-Id: 0D38E1A0017 X-Rspam-User: X-Stat-Signature: s5fcrxgfnawxc1cap6aps7dyhuq7a977 X-Rspamd-Server: rspam01 X-HE-Tag: 1695905738-36595 X-HE-Meta: U2FsdGVkX1+CV0ceZ+IO7oO2qL0I6pmmlG0fhWR1YvCHPZk2z7HzpEZdCTJD9+cJJaMbh7nbdM+vmjT9qohT6Sa4MbCZvgZwbRdZzqhb4LoP1f5XOHTMzp/Fza7Skg6IL/rf6/1u3DTEghcO08czfaGdIxMG1VrEpGYsUzFm6qfDxZMS5qPwAJeG3NBMTobdgsG4jpoSsBAjotL0vF8m0cjHsLctw/aKQ2Mri0LKKIyJlzJUwEoxfIj5abSFycGI1JPl5M47E1qAtPR5YLTuvV5C2u5WlnKUPRx7CScnuUOYE6beoBlo2ZPgr5wZOb44A60EK7S9rHMjRpc1xL2nfKlAgh4kVf6hG4bUIrlXF1Y/mkgkRxMS5B8s7LI+ZJ1OM+1FmrfnTJgJnvTAeipYnfTFLA4HLWMcHYigXxdAsS2YjerzuA6JIOR19wPJtugTzVITEfzIQxMV72Oo7VqW5zTehklrV/WQOEx8sF3QJ1JpWQ8IlswP/rL2Qvnna6vAKijA69bMUUvSBSsgbOPPGlNes1f2qv1zvcYOAgQDoKEdE8T1CSpMG6P/3PAHtbKVRc7uKsMWT+8FV+mzO0srWGQv9U+P0XnlslJSVbL1UFbCPwLxapvzK9caDBywZqqO5fIkXzEkD8+eqSVKOhbFtI5RUt9bY0SO2cLhZ58PTtsrBmmfg0RA2tIN7qTGRj0scdYNoZsXXxY8Eql+CUcxf2s4q7EnQPjKlIWtyQpMWmHyygGZoo/HzRq8KBAmbIdwxIo64GbGHTNI80D+/Jv446KUtbVha1X65is4dsnlGWxmVErzFzuzvlwTIjLw8IsSHvlklDrpYNAaq7EHutsKRI0BmbjLpKvwQu9oYZ8c1XkKrejBujI5J2gZFSVhng2x9C19YNYrKzKOL2Uqdlg0hm0NJSSdeed9g0bA1ZXQKo6h8E2vl6RNcvYGLNjdW58X4PlmOaiRaubk8AgG9/7 wpGGzHcg NnbxaB+OUYdLr9Yn+mDf1ICFBrEJt8dQZfENb+ToRLniOiaY/oSXjY4wL2y192jbAujMohjpdN+RyGHhR6ypZbKQ1uYuAP08XsnxvsZ59dOWWQ30rdld9AQXYWpPoAW8R2R2iji9GDxPwposJrq5kqxHlpCt60PiPvaP1f5khq+iNurL8Iv65NYyAM9rzkyFdV1q40GgYXe8D1fXcfE5QgCs5sxGh9vAS4vCGu7bRu8qUcuA05HLJpBYMdesCZOIniTriC+P7Y64JqXVwEk+dxid1doArHO7pM7NBaGfXgcn1Cc0GHEDN3jMhIJodwEsPHjt7Xo8sPXrz5WrYGrWjKiEUkZP0YG0sCcA1KXZvNt6JgPA= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 >