Re: [RFC 01/10] kmod: add test driver to stress test the module loader

2016-12-15 Thread Luis R. Rodriguez
On Tue, Dec 13, 2016 at 10:10:41PM +0100, Luis R. Rodriguez wrote: > On Thu, Dec 08, 2016 at 12:24:35PM -0800, Kees Cook wrote: > > On Thu, Dec 8, 2016 at 10:47 AM, Luis R. Rodriguez > > wrote: > > > 3) finit_module() consumes quite a bit of memory. > > > > Is this due to

Re: [RFC 01/10] kmod: add test driver to stress test the module loader

2016-12-13 Thread Luis R. Rodriguez
On Thu, Dec 08, 2016 at 12:24:35PM -0800, Kees Cook wrote: > On Thu, Dec 8, 2016 at 10:47 AM, Luis R. Rodriguez wrote: > > The kmod.sh script uses the above constructs to build differnt test cases. > > Typo: different Fixed. > > 3) finit_module() consumes quite a bit of

[RFC 01/10] kmod: add test driver to stress test the module loader

2016-12-08 Thread Luis R. Rodriguez
This adds a new stress test driver for kmod: the kernel module loader. The new stress test driver, test_kmod, is only enabled as a module right now. It should be possible to load this as built-in and load tests early (refer to the force_init_test module parameter), however since a lot of test can