[PATCH] PPC VMX, fix tst-context1 failures

Steve Munroe sjmunroe@us.ibm.com
Tue Jun 15 16:31:00 GMT 2004


These (3) bugs cuased intermittent failures in nptl/tst-context1. But 
only on VMX enabled hardware running 2.6 linux kernels.

The failures where intermittent depending on the alignment of the ctx 
array. The net effect was if the ctx started on a odd doubleword the VMX 
  VSAVE/VSCR would clobber the uc_link field of the following context. 
Which resulted in a segfault when the ftc function returned.

Thanks to Marcus for finding the 1st bug (which globber r19 and 
partially obscured the 3rd bug).

Should I update nptl/tst-context1.c to detect buffer overruns in the ctx 
array?

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ppc-context-20040607.txt
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20040615/a7ad67fd/attachment.txt>


More information about the Libc-alpha mailing list