|
|
Subscribe / Log in / New account

A generic hash table

A generic hash table

Posted Aug 9, 2012 14:32 UTC (Thu) by pj (subscriber, #4506)
Parent article: A generic hash table

Coming right after the 'kernel regressions' article, this made me wonder... does this new generic hash table implementation come with a test suite? If so, that would be a measurable, notable improvement over the other N implementations that Sasha could point to.


to post comments

A generic hash table

Posted Aug 14, 2012 17:02 UTC (Tue) by sashal (✭ supporter ✭, #81842) [Link] (1 responses)

Indeed this is a great suggestion. Some sort of CONFIG_HASHTABLE_TEST (similar to what happens with list sorting for example) is definitely something I'd like to add.

Thanks for the suggestion!

User space unit tests?

Posted Aug 15, 2012 15:01 UTC (Wed) by alex (subscriber, #1355) [Link]

While enabling run time testing of some kernel features is useful (the VM torture tests spring to mind) it would be much better if library code was testable in a user space build that didn't involve bringing a kernel up.

How about adding "make unittests" as a target for the kernel build?


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds