linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v4 0/3] test driver to analyse vmalloc allocator
@ 2019-01-03 14:21 Uladzislau Rezki (Sony)
  2019-01-03 14:21 ` [RFC PATCH 1/3] vmalloc: export __vmalloc_node_range for CONFIG_TEST_VMALLOC_MODULE Uladzislau Rezki (Sony)
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Uladzislau Rezki (Sony) @ 2019-01-03 14:21 UTC (permalink / raw)
  To: Andrew Morton, Michal Hocko, Kees Cook, Matthew Wilcox, linux-mm,
	Shuah Khan
  Cc: LKML, Oleksiy Avramchenko, Thomas Gleixner,
	Uladzislau Rezki (Sony)

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-01-05 17:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-03 14:21 [RFC PATCH v4 0/3] test driver to analyse vmalloc allocator Uladzislau Rezki (Sony)
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

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).