]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
lib/interval_tree_test.c: allow users to limit scope of endpoint
authorDavidlohr Bueso <dave@stgolabs.net>
Mon, 10 Jul 2017 22:51:49 +0000 (15:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Jul 2017 23:32:35 +0000 (16:32 -0700)
commita8ec14d4f6aa8e245efacc992c8ee6ea0464ce2a
treeeb6eaca9080f9cbdb6d17af2ebf64c80175daa52
parenta54dae0338b7f01eb0f9c7571fb9b74f791d1c6b
lib/interval_tree_test.c: allow users to limit scope of endpoint

Add a 'max_endpoint' parameter such that users may easily limit the size
of the intervals that are randomly generated.

Link: http://lkml.kernel.org/r/20170518174936.20265-4-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/interval_tree_test.c