From: Wojciech Kromer <krom@dgt-lab.com.pl>
To: "Linuxppc-Embedded (E-mail)" <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: memory problem with fec on 8250
Date: Thu, 04 Dec 2003 12:25:55 +0100 [thread overview]
Message-ID: <3FCF19C3.9070205@dgt-lab.com.pl> (raw)
In-Reply-To: <20031204105532.GA2065@gate.ebshome.net>
Użytkownik Eugene Surovegin napisał:
>On Thu, Dec 04, 2003 at 11:37:28AM +0100, Wojciech Kromer wrote:
>
>
>>i have to check end-of-trasmit interrupt code, but it seems to be good,
>>and it's common used driver (i hope so)
>>
>>
>
>Yep, quick look didn't reveal anything suspicious.
>
>To quickly check TX skb leak theory I'd add one counter and
> 1) increment it in fcc_start_xmit, and increment it for each
> transmitted packet (e.g. at line 450)
>
> 2) decrement it in fcc_enet_interrupt right after dev_kfree_skb_irq
> (at line 593).
>
>Make this counter accessible from user mode, e.g. through /proc and
>run your test :)
>
>
>
so i made such test, theese are results:
bash-2.05# cat /proc/interrupts
CPU0
19: 157 8260 SIU Edge dsp_msg
33: 81139 8260 SIU Edge fenet
34: 0 8260 SIU Edge fenet
40: 3909 8260 SIU Edge uart
42: 134 8260 SIU Edge uart
43: 0 8260 SIU Edge uart
BAD: 14481
bash-2.05# cat /proc/kdebug
tx_skb_alloc=53384 tx_skb_free=29058
_anyone_ knows why there is such difference between allocs and frees in
fcc_enet.c
--
* * * * * * * * * * * *
* per pedes ad astra! *
* * * * * * * * * * * * mailto:krom@dgt-lab.com.pl
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-12-04 11:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-03 7:48 memory problem with fec on 8250 Kromer
2003-12-04 8:45 ` Wojciech Kromer
2003-12-04 9:15 ` Eugene Surovegin
2003-12-04 9:45 ` Wojciech Kromer
2003-12-04 10:19 ` Eugene Surovegin
[not found] ` <3FCF0E68.4010303@dgt-lab.com.pl>
[not found] ` <20031204105532.GA2065@gate.ebshome.net>
2003-12-04 11:25 ` Wojciech Kromer [this message]
2003-12-04 14:03 ` Dan Malek
-- strict thread matches above, loose matches on Subject: below --
2004-01-04 15:55 Samo Pogacnik
2004-01-05 8:15 ` Wojciech Kromer
2004-01-05 22:52 ` Samo Pogacnik
2004-01-06 7:47 ` cd Wojciech Kromer
2004-01-06 22:03 ` memory problem with fec on 8250 Samo Pogacnik
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=3FCF19C3.9070205@dgt-lab.com.pl \
--to=krom@dgt-lab.com.pl \
--cc=linuxppc-embedded@lists.linuxppc.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.