Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4242289img; Tue, 26 Mar 2019 05:57:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVpaOYhNXFQmnegn4z99HjB4CnC8zMTptfoMUkFcbpji9ok6hseygEsKjtUNrTwQAXtnFi X-Received: by 2002:a63:3dca:: with SMTP id k193mr11957083pga.146.1553605073043; Tue, 26 Mar 2019 05:57:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553605073; cv=none; d=google.com; s=arc-20160816; b=L+OUk7vHVn1FGK+X7BIdwABL9ZF5EZVra1MzVqwZDCzhlahYKFPwrFCxOa2J6VrPHP 8qc8/YVS5YoDKDoRsnFngcIG5hD1Xu4ugw/teR9i0zOwD1kLTqlPK/7xiQjmTmhfeu8D FpdtEhU82rkV/M2LU7MGHZR4V+/tXNqM8xHftwrPxvYzC75nlezZwLjzNDoktXSfE60y t3DQ6L6E4WnnRqt+3cSWyPRf3gt/1a0xWVwwL5k4Dwd2rLyIGVBuI6KIqiUK/CXlAvxu h+dAH1hN5kOBLg+d0zIYkmW65L4DUu5FLhzNbiZZcm0foELye+q9vkx56bkn3PeWArxI sDgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=TvigbH1h2KALPmzqyb+VabwfL492c4scfq3E6byADRU=; b=Cx+xtHKwXQQqal0TTsuo5l9ezU6CUiGwOQyXYEV2ln4W+tqZnserD6wC4hWkHVcZnL sKPRCJ0vwXIFt+mXi5wpMyREesfkzn88DnWQrJ+ucEEff6Wse0X7Y+09VPY9n/lzyuPG Lpvwtf+RTVMH2/9og2xRVzHkMRgGl7uQRmXP1qR1y48uOU9+WWkfihJYnM5ZiQkoKd5m mzJn3m5NJOjxHuGYWyAd0RV1DgQ/ZsFsRC/00fvY1ob+PO4UOHmRDW9i9680Lgmum1rd xPG0ac9wN4rra3T2angLAxgidRvC8IZugMk+V+jFmWAC9vchKIetJxp120ABa2bgSEpP rqGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=UiCCQ5WN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 75si15796433pgb.230.2019.03.26.05.57.37; Tue, 26 Mar 2019 05:57:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=UiCCQ5WN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731471AbfCZMzt (ORCPT + 99 others); Tue, 26 Mar 2019 08:55:49 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:50859 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726241AbfCZMzs (ORCPT ); Tue, 26 Mar 2019 08:55:48 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 44TB2B2bW4z9v1gl; Tue, 26 Mar 2019 13:55:46 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=UiCCQ5WN; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id 9I57AftTqaND; Tue, 26 Mar 2019 13:55:46 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 44TB2B1XJfz9v1gh; Tue, 26 Mar 2019 13:55:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1553604946; bh=TvigbH1h2KALPmzqyb+VabwfL492c4scfq3E6byADRU=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=UiCCQ5WN/NAqKHRntaGP4nDeLD6Rv3mNAVbDEO7utC6g/kWPmhzO8tZDSKcKwdY37 repeT8NKtBxx8uFFwmrG32Aa2dlCPTVsDLjlfxGUU6cu+E3mzLdA6Xlfe8CXhwbOSg DtGKb0inNe8D3Ujh/Omebn3N+ywSKJ1zHB0XiVEI= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 7FC398B8D3; Tue, 26 Mar 2019 13:55:47 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id OKukCXTG8ZSk; Tue, 26 Mar 2019 13:55:47 +0100 (CET) Received: from PO15451 (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id EB4408B8D0; Tue, 26 Mar 2019 13:55:46 +0100 (CET) Subject: Re: Reading `/sys/kernel/debug/kmemleak` takes 3 s and content not shown To: Paul Menzel , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <88e651e2-d876-376e-81fa-eab0729ebb47@molgen.mpg.de> From: Christophe Leroy Message-ID: Date: Tue, 26 Mar 2019 13:55:46 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 26/03/2019 à 13:49, Paul Menzel a écrit : > Dear Linux folks, > > > On 19.02.19 10:44, Paul Menzel wrote: > >> On a the IBM S822LC (8335-GTA) with Ubuntu 18.10, and Linux 5.0-rc5+ >> accessing `/sys/kernel/debug/kmemleak` takes a long time. According to >> strace it takes three seconds. >> >> $ dmesg | grep leak >> [    4.407957] kmemleak: Kernel memory leak detector initialized >> [    4.407959] kmemleak: Automatic memory scanning thread started >> [745989.625624] kmemleak: 1 new suspected memory leaks (see >> /sys/kernel/debug/kmemleak) >> [1002619.951902] kmemleak: 1 new suspected memory leaks (see >> /sys/kernel/debug/kmemleak) >> ``` >> >> Unfortunately, the leaks supposedly stored in that file are not shown >> either. > > The problem is still present with Linux 5.0. Do you have an idea, how to > fix this? > Have you identified a previous version that works properly ? If so, have you been able to bisect the problem ? Christophe