[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120208153759.GD25473@somewhere.redhat.com>
Date: Wed, 8 Feb 2012 16:38:01 +0100
From: Frederic Weisbecker <fweisbec@...il.com>
To: Christoph Lameter <cl@...ux.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Dave Young <dyoung@...hat.com>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, xiyou.wangcong@...il.com, penberg@...nel.org,
fengguang.wu@...el.com
Subject: Re: [PATCH] selftests: Launch individual selftests from the main
Makefile
On Wed, Feb 08, 2012 at 08:45:35AM -0600, Christoph Lameter wrote:
> Note that slub also has an embedded selftest (see function
> resiliency_test). That code could be separated out and put with the
> selftests that you are creating now.
That would be nice. As long as it's in userspace and it runs validation
tests, it's pretty welcome.
It's deemed to test expected behaviour with deterministic tests. stress tests
probably don't fit well there although it should be no problem if they are short.
> I also have a series of in kernel benchmarks for the page allocation, vm
> statistics and slab allocators that could be useful to included somewhere.
>
> All this code runs in the kernel context.
>
> For the in kernel benchmarks I am creating modules that fail to load but
> first run the tests.
Hmm, benchmarks tend to require some user analysis, I'm not sure if a batch of
validation tests is the right place for them. But loading modules is probably
not a problem.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists