On Tue, 2010-08-31 at 18:11 +0800, yangzi wrote: > Hi > Update the old patch,and the new patch is in the attachment,and please > review this one.
Garret, i believe he is asking to consider this one and disregard the earlier one. Regards-- Subrata > > yangzi wrote: > > Hi > > > > When running shmat01 on some platforms, it fails on > > "addr = shmat(*(tc.shmid), base_addr + tc.offset,tc.flags);" > > with a INVAL error. Look at codes in "setup()", it probes > > an available address and align the address to SHMLBA. After > > alignment, the new address is no guarantee to be available > > any more. Here a bigger size is used to probe so that it's > > still valid address after alignment.Pertaining to the function > > setup_tc(lc, &tc) ,when it outside of "for (i = 0; i < TST_TOTAL; > > i++)",and printf the tc.offset value is always 0,and correct a mistake > > of original codes to move "setup_tc()" to right place. > > > > Signed-off-by: Yang Wei <[email protected]> > > > > wei yang > > BR > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
