From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758726AbbCDPAW (ORCPT ); Wed, 4 Mar 2015 10:00:22 -0500 Received: from mail-we0-f171.google.com ([74.125.82.171]:36649 "EHLO mail-we0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758601AbbCDPAV (ORCPT ); Wed, 4 Mar 2015 10:00:21 -0500 Message-ID: <54F71DFE.8040703@gmail.com> Date: Wed, 04 Mar 2015 17:00:14 +0200 From: Boaz Harrosh User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Daniel Wagner , Jeff Layton CC: Jeff Layton , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, "J. Bruce Fields" , Alexander Viro Subject: Re: [RFC v2 3/4] locks: Split insert/delete block functions into flock/posix parts References: <1425306313-7234-1-git-send-email-daniel.wagner@bmw-carit.de> <1425306313-7234-4-git-send-email-daniel.wagner@bmw-carit.de> <20150302195502.0c3a59e3@tlielax.poochiereds.net> <54F714B1.1070908@bmw-carit.de> In-Reply-To: <54F714B1.1070908@bmw-carit.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/04/2015 04:20 PM, Daniel Wagner wrote: > On 03/03/2015 01:55 AM, Jeff Layton wrote: >> On Mon, 2 Mar 2015 15:25:12 +0100 >> Daniel Wagner wrote: >> <> > I have fixed that stuff and now I am testing it. Though it seems > that there is a memory leak which can be triggered with > > while true; rm -rf /tmp/a; ./lease02 /tmp/a; done > > and this happens also without any of my patches. Still trying to > figure out what's happening. Hopefully I just see a ghost. > > slabtop tells me that ftrace_event_field is constantly growing: > check out the Kernel's leak detector it is perfect in showing you what was the exact call stack of the leaked memory. (Tell me if you need the exact Kconfig key to enable it should not be hard to find) Cheers Boaz