On 9/2/07, Andi Kleen <[EMAIL PROTECTED]> wrote: > The other issue to test some of them properly you need unmapped pages > etc. That gets much easier to do in user space. There are some other > issues.
vmalloc, vmap, etc. always put a guard page after the allocation. So if you test string operations on vmalloc()'ed memory, you have unmapped pages in both ends. I like the idea of a test suite for kernel internals, but I also think it would be best to run it in kernel mode since things like atomics, etc. may work differently in user space on some architectures. Haavard - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/