Re: the Linux kernel, testsuites, and maybe *you*

2007-09-05 Thread Mike Frysinger
On 9/4/07, Mike Frysinger <[EMAIL PROTECTED]> wrote: > On 9/2/07, Andi Kleen <[EMAIL PROTECTED]> wrote: > > On Sun, Sep 02, 2007 at 11:15:23AM -0400, Mike Frysinger wrote: > > > there is still the ABI issue ... code written in kernel space in pure > > > asm cannot always be compiled in userspace an

Re: the Linux kernel, testsuites, and maybe *you*

2007-09-04 Thread Mike Frysinger
On 9/2/07, Andi Kleen <[EMAIL PROTECTED]> wrote: > On Sun, Sep 02, 2007 at 11:15:23AM -0400, Mike Frysinger wrote: > > there is still the ABI issue ... code written in kernel space in pure > > asm cannot always be compiled in userspace and work properly/the same > > Is that a blackfin weirdness? y

Re: the Linux kernel, testsuites, and maybe *you*

2007-09-04 Thread Robin Getz
On Sat 1 Sep 2007 18:08, Andi Kleen pondered: > "Mike Frysinger" <[EMAIL PROTECTED]> writes: > > > is there any sort of standard for testing and integration into > > mainline ? > > Everybody does their own. That kind of stinks - and seems to be a potential duplication of effort all over the p

Re: the Linux kernel, testsuites, and maybe *you*

2007-09-03 Thread Bill Davidsen
Mike Frysinger wrote: On 9/1/07, Bill Davidsen <[EMAIL PROTECTED]> wrote: If you want to test that stuff and run it on the current code in the kernel, how about a kernel module? You could "modprobe sanitytest" or something and report to syslog at module load time. And maybe have a parameter w

Re: the Linux kernel, testsuites, and maybe *you*

2007-09-02 Thread HÃ¥vard Skinnemoen
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 operatio

Re: the Linux kernel, testsuites, and maybe *you*

2007-09-02 Thread Andi Kleen
On Sun, Sep 02, 2007 at 11:15:23AM -0400, Mike Frysinger wrote: > there is still the ABI issue ... code written in kernel space in pure > asm cannot always be compiled in userspace and work properly/the same Is that a blackfin weirdness? > > > The other issue to test some of them properly you n

Re: the Linux kernel, testsuites, and maybe *you*

2007-09-02 Thread Mike Frysinger
On 9/2/07, Andi Kleen <[EMAIL PROTECTED]> wrote: > On Sat, Sep 01, 2007 at 06:50:30PM -0400, Mike Frysinger wrote: > > On 02 Sep 2007 00:08:57 +0200, Andi Kleen <[EMAIL PROTECTED]> wrote: > > > BTW string functions are best tested in user space. That's > > > a relatively bad example. > > > > in the

Re: the Linux kernel, testsuites, and maybe *you*

2007-09-02 Thread Andi Kleen
On Sat, Sep 01, 2007 at 06:50:30PM -0400, Mike Frysinger wrote: > On 02 Sep 2007 00:08:57 +0200, Andi Kleen <[EMAIL PROTECTED]> wrote: > > BTW string functions are best tested in user space. That's > > a relatively bad example. > > in theory, maybe ... in reality, i really dont think so > > the s

Re: the Linux kernel, testsuites, and maybe *you*

2007-09-01 Thread Mike Frysinger
On 9/1/07, Bill Davidsen <[EMAIL PROTECTED]> wrote: > If you want to test that stuff and run it on the current code in the > kernel, how about a kernel module? You could "modprobe sanitytest" or > something and report to syslog at module load time. And maybe have a > parameter which does something

Re: the Linux kernel, testsuites, and maybe *you*

2007-09-01 Thread Bill Davidsen
Mike Frysinger wrote: is there any sort of standard for testing and integration into mainline ? in the Blackfin world, we've been developing little external kernel modules and adding them to our own testsuite, but often times these things are not Blackfin specific. case in point, we're integrat

Re: the Linux kernel, testsuites, and maybe *you*

2007-09-01 Thread Mike Frysinger
On 9/1/07, Robin Getz <[EMAIL PROTECTED]> wrote: > On Fri 31 Aug 2007 17:22, Mike Frysinger pondered: > > is there any sort of standard for testing and integration into > > mainline ? in the Blackfin world, we've been developing little > > external kernel modules and adding them to our own testsui

Re: the Linux kernel, testsuites, and maybe *you*

2007-09-01 Thread Mike Frysinger
On 02 Sep 2007 00:08:57 +0200, Andi Kleen <[EMAIL PROTECTED]> wrote: > BTW string functions are best tested in user space. That's > a relatively bad example. in theory, maybe ... in reality, i really dont think so the string implementations are spread out over the kernel ... there's implementatio

Re: the Linux kernel, testsuites, and maybe *you*

2007-09-01 Thread Andi Kleen
"Mike Frysinger" <[EMAIL PROTECTED]> writes: > is there any sort of standard for testing and integration into > mainline ? Everybody does their own. > in the Blackfin world, we've been developing little > external kernel modules and adding them to our own testsuite, but > often times these thi

Re: the Linux kernel, testsuites, and maybe *you*

2007-08-31 Thread Robin Getz
On Fri 31 Aug 2007 17:22, Mike Frysinger pondered: > is there any sort of standard for testing and integration into > mainline ? in the Blackfin world, we've been developing little > external kernel modules and adding them to our own testsuite, but > often times these things are not Blackfin speci

the Linux kernel, testsuites, and maybe *you*

2007-08-31 Thread Mike Frysinger
is there any sort of standard for testing and integration into mainline ? in the Blackfin world, we've been developing little external kernel modules and adding them to our own testsuite, but often times these things are not Blackfin specific. case in point, we're integrating a string testsuite t