[Top] [All Lists]

Re: kmemleak for MIPS

To: Eric Dumazet <>
Subject: Re: kmemleak for MIPS
From: Maxin John <>
Date: Wed, 30 Mar 2011 15:07:09 +0100
Cc: Daniel Baluta <>, Catalin Marinas <>, naveen yadav <>,,,
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=IDPx/t1b1WQYGyufQVE5Xwtv23xv57/sC03CSO/9Lq8=; b=fAT0PcNPygj+m+9TKtm0MxSn1G66Zsr/wpA3Sn/iSKFW7WMCdPkemnFVp1p0pwo0VC eKsF+QX9y9ScWj/LkXt89UJLdMi5fGON1DF0f/mwzmAzQytBAdJcyD5HXYTj7lIMCqQw gnUJolkCNlSxlTvVcP1mvXr8clQlEY2zAyZFA=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=dLLWp91hc0DC0EDB1Pu9fuSyGBYJJAf/K4885nyeAstfbvLpo7h2kSmBqiYXBIAUP9 xiuxAEJW+hjyd8STo1EezxuzamWdLv1H5I1vt8jDM2QBIenFU6gthTyDiUIin3bp56u5 QDTGgP+K3N/5cTfdip7LAL74LIaiKogJmcfho=
In-reply-to: <1301491622.3283.46.camel@edumazet-laptop>
Original-recipient: rfc822;
References: <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <1301488032.3283.42.camel@edumazet-laptop> <> <> <1301491622.3283.46.camel@edumazet-laptop>
Hi Eric,

> Hmm, then MIPS kmemleak port might have a problem with percpu data ?
> fcp->hash_table = kzalloc_node(sz, GFP_KERNEL, cpu_to_node(cpu));
> fcp is a per cpu "struct flow_cache_percpu"

Thank you very much for the inputs. I will definitely investigate this.
However, I think, the "basic" kmemleak support for MIPS is working as
expected with the present patch.
The kmemleak test case is also working as expected in MIPS target.

So, as Daniel mentioned, shall we go ahead with integrating the
kmemleak support for MIPS ?

Please let me know your comments.


<Prev in Thread] Current Thread [Next in Thread>