All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: reserve memory
Date: Mon, 16 Jul 2018 17:48:43 +0000	[thread overview]
Message-ID: <20180716174843.GC8555@kroah.com> (raw)
In-Reply-To: <CAJ2oMhJHYVG3mypArk44h4_k_KLgccx60HUW48+84hDU7z41gQ@mail.gmail.com>

On Mon, Jul 16, 2018 at 03:41:05PM +0300, Ran Shalit wrote:
> Hello,
> 
> When doing :
> echo 1 > /sys/bus/pci/rescan

Eeek, don't do that unless you _REALLY_ have no other option.

> Does it results in memory allocation for the new added device ?

It depends.  It depends in your platform and what you mean exactly by
"memory allocation".

> Is it that by adding "pci=hpmemsize" we can reserve the memory for the
> hot-plug device ? ( So, that there is no dynamic allocation in runtime
> )

I don't know, you should ask this on the linux-pci mailing list as that
is where the developers who added this are at.

good luck!

greg k-h

  reply	other threads:[~2018-07-16 17:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-16 12:41 reserve memory Ran Shalit
2018-07-16 17:48 ` Greg KH [this message]
2018-07-17  5:15 ` Ran Shalit
2018-07-17  6:59 ` Greg KH

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=20180716174843.GC8555@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-hotplug@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.