[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1defaf580709021120y20d1c4dfo948ebb1b5206e980@mail.gmail.com>
Date: Sun, 2 Sep 2007 20:20:22 +0200
From: "HÃ¥vard Skinnemoen" <hskinnemoen@...il.com>
To: "Andi Kleen" <andi@...stfloor.org>
Cc: "Mike Frysinger" <vapier.adi@...il.com>,
"Linux Kernel" <linux-kernel@...r.kernel.org>
Subject: Re: the Linux kernel, testsuites, and maybe *you*
On 9/2/07, Andi Kleen <andi@...stfloor.org> 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 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