Received: by 10.223.185.116 with SMTP id b49csp1412009wrg; Sun, 11 Feb 2018 11:19:48 -0800 (PST) X-Google-Smtp-Source: AH8x227E0o9OYkhAc288jRBFwQ1Pvv037ku4Lto2iMyroIRllG+4lIdMwJOMg52l0dsAz8W5xxl6 X-Received: by 2002:a17:902:5814:: with SMTP id m20-v6mr6937371pli.389.1518376788225; Sun, 11 Feb 2018 11:19:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518376788; cv=none; d=google.com; s=arc-20160816; b=W2rQkyynctoE4i8dur1ibGLD7OPhacIkzc6Zo7mZUJkTbMW6czfblEbB6ydFln34MM 1V80jArw8bs3bSmk2QZw250gCSSGj/1N9wDRG2mK6IXxYbZlFwIt580uz8QAPS+ngiQ8 ZlVX4epP5+GhkZ3YAN8HPJQhKlO1WYcNsYiHfvo/lyro5RUHXwaYGH8uR04ACyR837S+ BzSshXO4TmC0E7CXW/sPH1x67t+l7O2CSrBgQ2XivxQVRw2Z+qeYbYwCMxZKq3LX8mqC WYzBu9p/hJGWXqgrTvKjk01wbcQ3CrzPorNfA7Jje0mSDAXq36iGUvIrfKRrPGr0o4L0 ft5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=n+PHR9M+v2cHkaDSKSbzzM/STPJTvKpWvGZn26RV3Is=; b=b+wa1+82HRae1/NwGx5ZNdcSUyP0cctjTzyffUsnml0+qurWseDsfvXzTepQkPm1CU ui4vXjaC5x7NQdUQZa8NG3iTPtFfCxLDbr41dDPLlw9clDncxWIYvd/cwmVYeiliPDXJ VgYYid9yFDBZtUOB4bamMFL9ePtWTpt3hEPufOph6+6k71KL7r7ChnnvIfLO/rEzt2ny zO6PiFRUMFyGrpXV/ACLHvqRkI+nAxcrlZxc2ycqw/RlYyKHyk4pz5Vk0oPQ0BsJjIva eSaIarXTe+7V6RvRgpOvprbVDILmLkoo+Z9coBBClgUOAPfJwfG4cQdkx6zq/8IXM8gX GEwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=dznG13F3; 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 o125si2500867pga.697.2018.02.11.11.19.33; Sun, 11 Feb 2018 11:19:48 -0800 (PST) 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=fail header.i=@gmail.com header.s=20161025 header.b=dznG13F3; 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 S1753669AbeBKTS5 (ORCPT + 99 others); Sun, 11 Feb 2018 14:18:57 -0500 Received: from mail-vk0-f47.google.com ([209.85.213.47]:44340 "EHLO mail-vk0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753099AbeBKTSz (ORCPT ); Sun, 11 Feb 2018 14:18:55 -0500 Received: by mail-vk0-f47.google.com with SMTP id t126so554980vkb.11 for ; Sun, 11 Feb 2018 11:18:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=n+PHR9M+v2cHkaDSKSbzzM/STPJTvKpWvGZn26RV3Is=; b=dznG13F3z+YkDeORip7Gxw/mE0qpagBTaS5Z8PD33m3wfHm2sblpx9pQD3Zwvxl1TL Q0lXdEe140nDkP0U6o2aqSEg8OwDI/fWkr3UV2n4EpGZ9pLEwadAObj1dS8nXxPv9nbi ktHww3TYLarckZ5ARb3tN9oUSi4782sVm6OYMzlfrArWLpGDus/JFLVsWOFzxU/KeLBm Jw0mn8Y2Bi1BNwtDfLxvxFbBq9OB/z+8h51nXMqJzBn0PWKaO85f6YdfbSl3UuOT0dFE 37W4K0tUKHhesk4hrGD2JLS1T9QVSUsY6LFmR60RMYsO7QGNdNth9yTR98krLWvZLFkp VlGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=n+PHR9M+v2cHkaDSKSbzzM/STPJTvKpWvGZn26RV3Is=; b=W2P5KXNOslwP18KEKeTdyBoohWDQOXY3mOhzAfb4XfmuKbOtfjk6Hvz/tpTFnt3qnW VCtLx1d8i39GzaWn2KJoo+eDdoXKYzBeXBlG1amMN91KfKpgByCpZumU21S/+Lzc0R57 j2uLVrb3k6Ie0S+yB+DLLHcU2ZvMisvVQsCdmKeLgIz8ZyizzVNiVAJGANIONVi8JGUR Ao+tCAo+9yHo4dpRsGkucSdyizWmVPF734fiPICOw2pDE9Q48XWY76BD5gIbT1lUfylg wKKj6UG1pYW3JmZFtcBXyj8MxMa22o4rsuTYhbueIHF9/4nG7pb8fnHbuTDll6LsfjFc mogQ== X-Gm-Message-State: APf1xPCWaBELkK1VxkCBwLp4pSnoiOQq7ncOpPUEVLORVkLzerA0k2L/ 9YdlKlVLBsWIFqcBVoBHFbTjJ4BLQP759EDr/WU= X-Received: by 10.31.185.11 with SMTP id j11mr9150658vkf.52.1518376734838; Sun, 11 Feb 2018 11:18:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.38.193 with HTTP; Sun, 11 Feb 2018 11:18:34 -0800 (PST) In-Reply-To: References: From: Mathieu Malaterre Date: Sun, 11 Feb 2018 20:18:34 +0100 X-Google-Sender-Auth: 3H1_aPHpCiWQ2v6A5TlT_GM8rFM Message-ID: Subject: Re: [kmemleak] unreferenced object 0xcd9c1a80 (size 192): To: Alexei Starovoitov Cc: Alexei Starovoitov , Daniel Borkmann , LKML , Yonghong Song Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Sun, Feb 11, 2018 at 5:54 PM, Alexei Starovoitov wrote: > On Sun, Feb 11, 2018 at 7:24 AM, Mathieu Malaterre wrote: >> Alexei, >> >> Could you please comment on why I am seeing those memleaks being >> reported on my ppc32 system ? Should they be marked as false positive >> ? >> >> System is Mac Mini G4, git/master (4.15.0+), ppc. >> >> Thanks for your time >> >> $ dmesg >> ... >> [ 1281.504173] kmemleak: 36 new suspected memory leaks (see >> /sys/kernel/debug/kmemleak) >> >> Where: >> >> # cat /sys/kernel/debug/kmemleak >> unreferenced object 0xdee25000 (size 192): >> comm "systemd", pid 1, jiffies 4294894348 (age 1438.580s) >> hex dump (first 32 bytes): >> c0 56 2f 88 00 00 00 00 00 00 00 0b 00 00 00 0c .V/............. >> 00 00 00 08 00 00 00 01 00 00 00 01 00 00 00 01 ................ >> backtrace: >> [<6c69baf5>] trie_alloc+0xb0/0x150 >> [] SyS_bpf+0x288/0x1458 >> [<82182f53>] ret_from_syscall+0x0/0x38 >> unreferenced object 0xdee25900 (size 192): >> comm "systemd", pid 1, jiffies 4294894540 (age 1437.812s) >> hex dump (first 32 bytes): >> c0 56 2f 88 00 00 00 00 00 00 00 0b 00 00 00 08 .V/............. >> 00 00 00 08 00 00 00 01 00 00 00 01 00 00 00 01 ................ >> backtrace: >> [<6c69baf5>] trie_alloc+0xb0/0x150 >> [] SyS_bpf+0x288/0x1458 >> [<82182f53>] ret_from_syscall+0x0/0x38 > > hmm. looks real. Is there a reproducer? > Yonghong, lpm map not cleaning after itself? Not really. I simply boot up my machine and wait for the first kmemleak scan.