Netdev List
 help / color / mirror / Atom feed
From: David Laight <David.Laight@ACULAB.COM>
To: 'Venkat Venkatsubra' <venkat.x.venkatsubra@oracle.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: RE: order:1 failure in ipoib_cm_alloc_rx_skb
Date: Fri, 22 Aug 2014 09:00:50 +0000	[thread overview]
Message-ID: <063D6719AE5E284EB5DD2968C1650D6D1747EEE3@AcuExch.aculab.com> (raw)
In-Reply-To: <b2996322-2711-466b-8c41-7f4c13c7c0dc@default>

From: Venkat Venkatsubra
> Hello All,
> 
> Many of our customers have hit this order:1 failure in ipoib_cm_alloc_rx_skb causing softlockup:
> ....
>         skb = dev_alloc_skb(IPOIB_CM_HEAD_SIZE + 12);
> ....

Notwithstanding any other problems, that allocation could fail even if the size were
small enough that the entire skb would fit in one page.
So the driver needs changing so that the allocation failure doesn't cause a deadlock.

OTOH if you can't allocate 8k of contiguous address space and memory the system
is unlikely to be working very well at all.

	David

      reply	other threads:[~2014-08-22  9:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-21 21:29 order:1 failure in ipoib_cm_alloc_rx_skb Venkat Venkatsubra
2014-08-22  9:00 ` David Laight [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=063D6719AE5E284EB5DD2968C1650D6D1747EEE3@AcuExch.aculab.com \
    --to=david.laight@aculab.com \
    --cc=netdev@vger.kernel.org \
    --cc=venkat.x.venkatsubra@oracle.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