From: "Uladzislau Rezki (Sony)" <urezki@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>,
Michal Hocko <mhocko@suse.com>, Kees Cook <keescook@chromium.org>,
Matthew Wilcox <willy@infradead.org>,
linux-mm@kvack.org, Shuah Khan <shuah@kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Oleksiy Avramchenko <oleksiy.avramchenko@sonymobile.com>,
Thomas Gleixner <tglx@linutronix.de>,
"Uladzislau Rezki (Sony)" <urezki@gmail.com>
Subject: [RFC PATCH v4 0/3] test driver to analyse vmalloc allocator
Date: Thu, 3 Jan 2019 15:21:05 +0100 [thread overview]
Message-ID: <20190103142108.20744-1-urezki@gmail.com> (raw)
Hello.
This is v4. I think it is ready to go with, unless there are extra requests
or comments.
Changes in v4:
- Since the test can take time, switch to wait_for_completion_timeout()
with HZ sleep interval to prevent triggering of the trace about hung
task;
- Fix clean apply for v4.20 kernel.
Changes in v3:
- Export __vmalloc_node_range() with _GPL-only prefix;
- Add skip cases if the test can not be executed in current environment.
That is kselftest framework requirement.
Changes in v2:
- Code cleanup to make it more simple;
- Now __vmalloc_node_range() is exported if CONFIG_TEST_VMALLOC_MODULE=m
- Integrate vmalloc test suite into tools/testing/selftests/vm
I think it is ready to go with, unless there are more requests or comments.
Thank you in advance.
Uladzislau Rezki (Sony) (3):
vmalloc: export __vmalloc_node_range for CONFIG_TEST_VMALLOC_MODULE
vmalloc: add test driver to analyse vmalloc allocator
selftests/vm: add script helper for CONFIG_TEST_VMALLOC_MODULE
lib/Kconfig.debug | 12 +
lib/Makefile | 1 +
lib/test_vmalloc.c | 548 +++++++++++++++++++++++++++++
mm/vmalloc.c | 9 +
tools/testing/selftests/vm/run_vmtests | 16 +
tools/testing/selftests/vm/test_vmalloc.sh | 176 +++++++++
6 files changed, 762 insertions(+)
create mode 100644 lib/test_vmalloc.c
create mode 100755 tools/testing/selftests/vm/test_vmalloc.sh
--
2.11.0
next reply other threads:[~2019-01-03 14:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-03 14:21 Uladzislau Rezki (Sony) [this message]
2019-01-03 14:21 ` [RFC PATCH 1/3] vmalloc: export __vmalloc_node_range for CONFIG_TEST_VMALLOC_MODULE Uladzislau Rezki (Sony)
2019-01-03 14:21 ` [RFC PATCH 2/3] vmalloc: add test driver to analyse vmalloc allocator Uladzislau Rezki (Sony)
2019-01-03 14:21 ` [RFC PATCH 3/3] selftests/vm: add script helper for CONFIG_TEST_VMALLOC_MODULE Uladzislau Rezki (Sony)
2019-01-04 18:34 ` shuah
2019-01-05 17:53 ` Uladzislau Rezki
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=20190103142108.20744-1-urezki@gmail.com \
--to=urezki@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.com \
--cc=oleksiy.avramchenko@sonymobile.com \
--cc=shuah@kernel.org \
--cc=tglx@linutronix.de \
--cc=willy@infradead.org \
/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