Re: reserve memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Tue, Jul 17, 2018 at 08:15:24AM +0300, Ran Shalit wrote:
> On Mon, Jul 16, 2018 at 8:48 PM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> > 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.
> >
> Hi,
> What are the alternatives  ?

Using real PCI hotplug hardware.  This is a hack that forces the kernel
to rescan the bus because it was not told it needed to do it.  Because
it was not told that, this implies your hardware is not really a pci
hotplug system.

> I haven't find any information of this issue of memory allocation and
> rescan, so any pointer will help,

Why do you feel you need to do the above?  Why isn't your hardware "just
working" when you add/remove a new PCI device?


greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     []     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux