memory-hotplug have such a problem.

From: zhong jiang
Date: Mon Oct 26 2015 - 04:36:23 EST




when I test the memory online or offline, I find the problem that
memory online always return an error. I peform the operation as follow:

cd /sys/device/system/memory/
echo online > state

it always print "-bash: echo: write error: Operation not permitted".
By my alalysis, I find that the error happen in the memory_notifier(MEM_GOING_ONLINE,&arg)
in the function(online_pages()).

The problem occur in the latest kernel versin (linux 4.3.0 -rc4) , but In the lower version
(linux 3.10) is correct. I think it may be caused by the confilct.


Thanks
zhongjiang

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