Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1255748

memory-hotplug have such a problem.

From zhong jiang <zhongjiang@huawei.com>
Newsgroups linux.kernel
Subject memory-hotplug have such a problem.
Date 2015-10-26 09:40 +0100
Message-ID <qnLtU-5Xl-23@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw



           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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

memory-hotplug have such a problem. zhong jiang <zhongjiang@huawei.com> - 2015-10-26 09:40 +0100

csiph-web