From: "David S. Miller" <davem@davemloft.net>
To: Harald Welte <laforge@gnumonks.org>
Cc: Robert.Olsson@data.slu.se, cd@cdaniel.de, netdev@oss.sgi.com
Subject: Re: "dst cache overflow"
Date: Tue, 21 Sep 2004 15:24:11 -0700 [thread overview]
Message-ID: <20040921152411.72b4092e.davem@davemloft.net> (raw)
In-Reply-To: <20040921215501.GE3236@sunbeam.de.gnumonks.org>
On Tue, 21 Sep 2004 23:55:02 +0200
Harald Welte <laforge@gnumonks.org> wrote:
> I bet that something inside the kernel forgets dst_release().. IMQ is
> just compiled, not used (so I don't see how it should come from this).
>
> Any comments, suggestions?
Most likely it is a leak like that, yes.
Here is my suggstion for debugging this:
1) Boot with profile=2 or similar.
2) Disable the platform code that bumps the profiling
counters at the timer interrupt.
3) Make every piece of which gets or puts a dst entry
reference pass it's PC to some function which
increments the profile buffer entry. (use
current_text_addr())
Then after running for some time use readprofile to figure
out what subsystem or area is causing the references.
next prev parent reply other threads:[~2004-09-21 22:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-20 19:44 "dst cache overflow" Robert Olsson
2004-09-20 17:07 ` Christian Daniel
2004-09-21 21:55 ` Harald Welte
2004-09-21 22:24 ` David S. Miller [this message]
2004-09-21 22:49 ` Patrick McHardy
2004-09-22 1:20 ` Harald Welte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040921152411.72b4092e.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Robert.Olsson@data.slu.se \
--cc=cd@cdaniel.de \
--cc=laforge@gnumonks.org \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).