Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
Testing for kernel performance regressions
Posted Aug 4, 2012 15:21 UTC (Sat) by man_ls (subscriber, #15091)
Some examples: mount a virtualized SATA disk, format it, create a few files, read them back and check their contents. Mount a virtualized USB disk and do the same. Create several filesystems and stress-test them. Check that the commands issued are in correct order. And so on.
This is (obviously) spoken from utter ignorance of kernel internals, just from the point of view of basic software engineering: if it is not tested and verified it is not finished. I am sure kernel devs will know how to implement the idea or ignore it if the effort is not worth it. But for me it would be a fascinating project.
Posted Aug 4, 2012 19:09 UTC (Sat) by robert_s (subscriber, #42402)
But that's the stuff that gets tested anyway, by people. The trouble _is_ with the esoteric hardware.
Posted Aug 4, 2012 22:39 UTC (Sat) by man_ls (subscriber, #15091)
Posted Aug 6, 2012 11:17 UTC (Mon) by niner (subscriber, #26151)
Posted Aug 6, 2012 10:27 UTC (Mon) by njd27 (subscriber, #5770)
I actually work on the Linux driver for a particular family of input devices from one manufacturer. Most of the customers are integrating devices which are targeting older kernel versions rather than mainline, so our main focus is there. But we do track patches that are going into mainline and make sure they are sane, and do some occasional testing.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds