Netdev List
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Andreas O <andreas2025@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: "tm->when" at /proc/net/tcp shows some negative numbers.
Date: Mon, 11 Jul 2011 19:28:20 +0200	[thread overview]
Message-ID: <1310405300.2860.1.camel@edumazet-laptop> (raw)
In-Reply-To: <CAAVaN8wcu+=p9sD76s7m3=M6hqPScOsq3WPJmAN5TBp4fAoLGQ@mail.gmail.com>

Le lundi 11 juillet 2011 à 17:47 +0100, Andreas O a écrit :
> Dear devnet list,
> 
> I am doing some performance improvements on  linux-2.6.33.15 with
> real-time support. When my tests fails I observe that "tm->when" at
> /proc/net/tcp shows
> some negative numbers. That negative number is the difference  of
> "timer_expires - jeffies" and in this case timer_expires is smaller
> than jiffies.
> Does this negative number indicates a bug in the stack?
> 
> 

Not necessarly.

If the thread handling timers is delayed (because of other more urgent
RT things), the delay between timer is fired and handled could be long.



      reply	other threads:[~2011-07-11 17:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-11 16:47 "tm->when" at /proc/net/tcp shows some negative numbers Andreas O
2011-07-11 17:28 ` Eric Dumazet [this message]

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=1310405300.2860.1.camel@edumazet-laptop \
    --to=eric.dumazet@gmail.com \
    --cc=andreas2025@gmail.com \
    --cc=netdev@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox