All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roland Dreier <rdreier@cisco.com>
To: Stefan Roscher <ossrosch@linux.vnet.ibm.com>
Cc: fenkes@de.ibm.com, LKML <linux-kernel@vger.kernel.org>,
	OF-EWG <ewg@lists.openfabrics.org>,
	LinuxPPC-Dev <linuxppc-dev@ozlabs.org>,
	raisch@de.ibm.com, alexschm@de.ibm.com,
	stefan.roscher@de.ibm.com
Subject: Re: [PATCH 1/3] IB/ehca: Replace vmalloc with kmalloc
Date: Tue, 21 Apr 2009 10:34:30 -0700	[thread overview]
Message-ID: <adaws9dvrkp.fsf@cisco.com> (raw)
In-Reply-To: <200904211716.45245.ossrosch@linux.vnet.ibm.com> (Stefan Roscher's message of "Tue, 21 Apr 2009 17:16:44 +0200")

 > +	queue->queue_pages = kmalloc(nr_of_pages * sizeof(void *), GFP_KERNEL);

How big might this buffer be?  Any chance of allocation failure due to
memory fragmentation?

 - R.

WARNING: multiple messages have this Message-ID (diff)
From: Roland Dreier <rdreier@cisco.com>
To: Stefan Roscher <ossrosch@linux.vnet.ibm.com>
Cc: "LinuxPPC-Dev" <linuxppc-dev@ozlabs.org>,
	LKML <linux-kernel@vger.kernel.org>,
	"OF-EWG" <ewg@lists.openfabrics.org>,
	Roland Dreier <rolandd@cisco.com>,
	fenkes@de.ibm.com, raisch@de.ibm.com, alexschm@de.ibm.com,
	stefan.roscher@de.ibm.com, hnguyen@de.ibm.com
Subject: Re: [PATCH 1/3] IB/ehca: Replace vmalloc with kmalloc
Date: Tue, 21 Apr 2009 10:34:30 -0700	[thread overview]
Message-ID: <adaws9dvrkp.fsf@cisco.com> (raw)
In-Reply-To: <200904211716.45245.ossrosch@linux.vnet.ibm.com> (Stefan Roscher's message of "Tue, 21 Apr 2009 17:16:44 +0200")

 > +	queue->queue_pages = kmalloc(nr_of_pages * sizeof(void *), GFP_KERNEL);

How big might this buffer be?  Any chance of allocation failure due to
memory fragmentation?

 - R.

  reply	other threads:[~2009-04-21 17:34 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-21 15:16 [PATCH 1/3] IB/ehca: Replace vmalloc with kmalloc Stefan Roscher
2009-04-21 15:16 ` Stefan Roscher
2009-04-21 17:34 ` Roland Dreier [this message]
2009-04-21 17:34   ` Roland Dreier
2009-04-22  9:11   ` Stefan Roscher
2009-04-22 14:02   ` Stefan Roscher
2009-04-22 14:02     ` Stefan Roscher
2009-04-22 14:10     ` michael
2009-04-22 16:00       ` Stefan Roscher
2009-04-22 16:12         ` michael
2009-04-28 13:07     ` [ewg] " Alexander Schmidt
2009-04-28 14:01       ` Roland Dreier
2009-04-28 14:01         ` Roland Dreier
2009-04-28 14:13         ` Alexander Schmidt
2009-04-28 14:13           ` Alexander Schmidt
2009-04-28 15:12 ` Dave Hansen
2009-04-28 15:12   ` Dave Hansen
2009-04-28 16:02   ` Stefan Roscher
2009-04-28 16:02     ` Stefan Roscher
2009-04-28 16:45 ` Roland Dreier
2009-04-28 16:45   ` Roland Dreier

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=adaws9dvrkp.fsf@cisco.com \
    --to=rdreier@cisco.com \
    --cc=alexschm@de.ibm.com \
    --cc=ewg@lists.openfabrics.org \
    --cc=fenkes@de.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=ossrosch@linux.vnet.ibm.com \
    --cc=raisch@de.ibm.com \
    --cc=stefan.roscher@de.ibm.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 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.