2010/8/31 Yang, Wei <[email protected]>: > 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,add correct a mistake > of original codes to move "setup_tc()" to right place.
Which of the sub-testcases fail and on which architecture(s)? Thanks, -Garrett ------------------------------------------------------------------------------ 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
