Hi,

While testing builds containing this change (commit id: 
92923ca3aacef63c92dc297a75ad0c6dfe4eab37), I've observed that memory fails to 
come online in the hotplug case. When attempting to bring the hot added pages 
online (via udev rules or manually writing to sysfs); it's failing with -EBUSY 
error because the hot added pages no longer have the Reserved flag set.

The reserved bit is being checked in memory_block_action() in 
drivers/base/memory.c:

                switch (action) {
                case MEM_ONLINE:
                                if (!pages_correctly_reserved(start_pfn))
                                                return -EBUSY;

Should the reserved bit be set in some other place? Or should the above test be 
removed from sysfs memory device?

--
Alex Ng
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to