From: Cyril Hrubis <chrubis@suse.cz>
To: Wang Kunfeng <threefifteen.wangkunfeng@huawei.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] kernel/hugemmap05.c: Skip test when default Hugepagesize 1G
Date: Mon, 25 Apr 2022 13:53:01 +0200 [thread overview]
Message-ID: <YmaLnbeI1N76l3HM@rei> (raw)
In-Reply-To: <20220422033552.257763-1-threefifteen.wangkunfeng@huawei.com>
Hi!
> The kernel is not allow to change the file that
> /proc/sys/vm/nr_overcommit_hugepages,
> when default Hugepagesize 1G,so the testcase
> will be fail when close it.
I'm not sure what the exact problem is, but I guess that there is not
enough (continuous) memory to enable the overcommit, right?
In that case disabling the test on 1GB hugepages is certainly wrong.
What errno do we get if we attempt to close the file?
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2022-04-25 11:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-22 3:35 [LTP] [PATCH] kernel/hugemmap05.c: Skip test when default Hugepagesize 1G Wang Kunfeng via ltp
2022-04-25 11:53 ` Cyril Hrubis [this message]
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=YmaLnbeI1N76l3HM@rei \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
--cc=threefifteen.wangkunfeng@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.