Received: by 10.223.185.116 with SMTP id b49csp1300996wrg; Sun, 11 Feb 2018 08:55:51 -0800 (PST) X-Google-Smtp-Source: AH8x226sOqZr8ls951k7wjTMDNsFqUwjBuRE6/N9bEWYVWibO4TxCaIVzGa21R975xqfNtFM6Ov+ X-Received: by 2002:a17:902:b709:: with SMTP id d9-v6mr8660909pls.119.1518368150988; Sun, 11 Feb 2018 08:55:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518368150; cv=none; d=google.com; s=arc-20160816; b=YWxgmxskUWFB8wNvoeyn//Hsg8EcuGftCTyVHIWvF+uemlxqk0G/1XwugeGSMBVFmg dU7vo2vuqKdemHL3v9FjWglYy0nZzqIuQNBYymSHHcxHjb1TMgg4IJDi4lArdVbSoRp4 w4yhnK8rSv6YClOPm0HHGe8IlZmaiKioReI4PAuKhWNDIv0T2KT9fm2X/ECxtQ8WzYy+ t2h2ankrfoGkHuYFrQCGD8puDJr3RUj2GrFRsoz39D1TxYtDI4Xp1/HBj/WB40fNaqqI fX7/zUY5PAJ46Jn4W0gxwa5Y2s2ySYrLMD643PK3Q2fh37OQbNrVanoSuvPnr7WjncbC DW0Q== 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=icYDcV9nctNNFxHvdUJEIvfWo0ngaX6vBTZ2eyOtapE=; b=d6tLmgaN+KLRmK8WJWZJD3l0X0sp+PkcAJ4QBRh5G9X7uwWi2HY237e31UlYeKyNoY Qm6F6MSiYo2Nhz4j/FIQfZDzlXo79i8hGoCBaF/56t3NaHFp9MAb7PxsojRWyYcA/xva XcCDx5r5rGsVpKsFcPD8iYZSTFoEzhMw1Ly6CzxcediDKaN6crp7Q5sF3VIDpavP0Zcb aWAi9lkBanI7PLuAAl41FbAIWScghzs8Xp0iprvycgHTw/WTP4KHBZlIhxltj5mLZTRc ZYBOCRkaCrbJOjLZK4lrnqyE2h9SNI8RLNMsVYu22YZWEn2ki2q9QrzDjidMaJ+tRtSx EXwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ImvBvOPm; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q11si2537920pgc.165.2018.02.11.08.55.25; Sun, 11 Feb 2018 08:55:50 -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=pass header.i=@gmail.com header.s=20161025 header.b=ImvBvOPm; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753533AbeBKQy0 (ORCPT + 99 others); Sun, 11 Feb 2018 11:54:26 -0500 Received: from mail-wr0-f179.google.com ([209.85.128.179]:39834 "EHLO mail-wr0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752496AbeBKQyY (ORCPT ); Sun, 11 Feb 2018 11:54:24 -0500 Received: by mail-wr0-f179.google.com with SMTP id g4so3049007wrb.6 for ; Sun, 11 Feb 2018 08:54:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=icYDcV9nctNNFxHvdUJEIvfWo0ngaX6vBTZ2eyOtapE=; b=ImvBvOPmfEL5oS42I0b1W0avEY5zkGkGJCYtJyqqYwXLSJhfP9pASfi+BZh4Is/XSp uAteyQskvOHXwaVoaMrxWruA19Yzx/FU2eNAu6pf7ZS3G7N+1KYXhLTKGb2CH8Rwj19i 7dtVQHbH+URUhPcil63IE3gAJT0oVCKKZju/SQpuhvl90iH1f72FTeDuKSlX7q+pnrna pfKrYScLA4VFV8D3S9Rw8+rJK0cj0pf1/LwTZbI5sdfKkNzSgOmPMqzzgJh/BpqCE1E8 yMJi0SOXi4Vqjh9k59qBti4PeOanMCFt93MPbA5lLPwr9NW8h/lotkBtPDsuoP5qFyLv cbmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=icYDcV9nctNNFxHvdUJEIvfWo0ngaX6vBTZ2eyOtapE=; b=jViRf79gDAoQCjjquU3+hIo1EbXFGCjIBkJK9rd4UA0S0JLag9eDQSu8TIr/dvwOJD vz2zRzTfJl/K+g78367TqlRsVbh/M1+okUuiFSAWPSNKOVmCIAbu+1e9AXnCIJ+ltQHX 5QkAMU6+pqwif+m6g/9DuCRDb7zly8BIGwBdGF1CPIkmg371eBwrIYMBY1QaJj44AevC jBCiueHcLPITEi5bPHQI1xvWIHyRuw765zvH+tvcGwQLXsfwy7k3wAfMOxHA+19SWs+N jwYpUsswVSxFXM25Nu+Xlc3Rq9WoWNvlurasV6qmysZj6DeRZUggD9SnrD83HlJRL+pr nibw== X-Gm-Message-State: APf1xPByFQY3cVIa9hDY9tfmPeq5uPR79ZDNuQsMVEwMLX66liPX1jNM vORvw2hbR5Dt0oA19sfrnMTG0QtEbc+rnnM1aao= X-Received: by 10.223.188.134 with SMTP id g6mr5006761wrh.140.1518368063370; Sun, 11 Feb 2018 08:54:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.196.178 with HTTP; Sun, 11 Feb 2018 08:54:02 -0800 (PST) In-Reply-To: References: From: Alexei Starovoitov Date: Sun, 11 Feb 2018 08:54:02 -0800 Message-ID: Subject: Re: [kmemleak] unreferenced object 0xcd9c1a80 (size 192): To: Mathieu Malaterre 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 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?