Re: reserve memory

Greg KH <[email protected]> Mon, 16 Jul 2018 17:48:43 +0000
Newsgroups org.kernel.vger.linux-hotplug
Message-ID <[email protected]>
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