All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: Re: ax25_recvmsg lockup
Date: Sun, 4 Aug 2013 12:04:17 -0400	[thread overview]
Message-ID: <20130804160417.GA987@redhat.com> (raw)
In-Reply-To: <20130803.134604.508965748339486186.davem@davemloft.net>

On Sat, Aug 03, 2013 at 01:46:04PM -0700, David Miller wrote:
 > From: Dave Jones <davej@redhat.com>
 > Date: Mon, 17 Jun 2013 10:28:03 -0400
 > 
 > > With the right arguments from userspace, reading from an ax25 socket
 > > can spend long enough in the kernel that it triggers the softlockup
 > > detector.  I hit a bunch of these traces in a trinity run that I
 > > left running over the weekend.
 > 
 > I looked at this a bunch of times and am still mystified how this
 > can happen.
 > 
 > It should be simple to diagnose since I doubt there is any real
 > AX25 traffic going to these sockets.
 > 
 > Any chance you can figure out what the arguments are that cause
 > this problem?  That'll probably help a lot, thanks!

thinking about this some more, I wonder if it was related to the problems
I was seeing where a bunch of concurrent sync()'s would trip up the
soft-lockup detector.  Perhaps the ax25 code got preempted and
the syncs starved the cpu for a while, so when we eventually got back
to the ax25 code, the detector decided it hadn't made progress..

I don't know, it sounds a bit far-fetched, but it's all I can think of.

	Dave

      parent reply	other threads:[~2013-08-04 16:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-17 14:28 ax25_recvmsg lockup Dave Jones
2013-08-03 20:46 ` David Miller
2013-08-04  0:25   ` Dave Jones
2013-08-04 16:04   ` Dave Jones [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=20130804160417.GA987@redhat.com \
    --to=davej@redhat.com \
    --cc=davem@davemloft.net \
    --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 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.