From: zhong jiang <zhongjiang@huawei.com>
To: linux-mm@kvack.org, linux-kernel@vger.kernel.org
Cc: qiuxishi@huawei.com, guohanjun@huawei.com, zhangdianfang@huawei.com
Subject: memory-hotplug have such a problem.
Date: Mon, 26 Oct 2015 16:31:30 +0800 [thread overview]
Message-ID: <562DE4E2.2040401@huawei.com> (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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
reply other threads:[~2015-10-26 8:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=562DE4E2.2040401@huawei.com \
--to=zhongjiang@huawei.com \
--cc=guohanjun@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=qiuxishi@huawei.com \
--cc=zhangdianfang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).