Dnia 26-01-2005 o godz. 9:26 William Lee Irwin III napisał(a): > On Wed, Jan 26, 2005 at 09:24:42AM +0100, Krzysztof Helt wrote: > > Here is a patch for FPU context switching in SMP. > > A copy_thread() function clears PF_USEDFPU flag for a new thread, > > but it does not clear the PSR_EF bit. Thus, a first FPU exception > > called from the child thread is not handled properly. I made the > > patch after PPC and MIPS architectures - both clear a similar bit > > in copy_thread. > > This bug does not exist in the UP kernel, probably because it > > does not rely on PF_USEDFPU flag. > > The patch below should be applied for both 2.4 and 2.6 branches. > > I tested it with a test-fenv program from glibc testsuite. The > > test fails the same test cases in both SMP and UP with the patch > > applied. Without the patch, the test on SMP kernel failes in > > almost two times more testcases. > > Are you sure a bugfix merits a copyright attribution? It's atypical > elsewhere... > >
So please remove it. I am quite new, so just don't know how to measure it... Krzysztof ---------------------------------------------------- W Stepford kobiety są idealne, a mężczyźni szczęśliwi, dlaczego? Zobacz, Nicole Kidman w filmie "Żony ze Stepford" Musisz je mieć na DVD i Wideo! http://klik.wp.pl/?adr=http%3A%2F%2Ffilm.wp.pl%2Fp%2Ffilm.html%3Fid%3D24449&sid=305 - To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html