[<prev] [next>] [day] [month] [year] [list]
Message-ID: <562DE4E2.2040401@huawei.com>
Date:	Mon, 26 Oct 2015 16:31:30 +0800
From:	zhong jiang <zhongjiang@...wei.com>
To:	<linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>
CC:	<qiuxishi@...wei.com>, <guohanjun@...wei.com>,
	<zhangdianfang@...wei.com>
Subject: memory-hotplug have such a problem.
           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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists