On 01/05/2011 12:21 AM, [email protected] wrote: > We get segfaults during testing mtest01 on a 5TB memory machine, the > problem was traced to the array pid_list[] went to overflow and > corrupted memory. This fix makes pid_list dynamically sized with > correct memory size to avoid overflow. > > v2: not split into different bits when allocating pid_list. > v3: 1) fix optargs: -b and -p should not be used at the same time. > 2) pre_mem maybe not initialized before using if -p option not used. > fix it by moving it outside ``if(maxpercent)'' block. > > Signed-off-by: Caspar Zhang <[email protected]>
Hi Garrett, please review v3, the up-to-date version. Thanks, Caspar -- Quality Assurance Associate (Kernel) in Red Hat Software (Beijing) Co., R&D Branch TEL: +86-10-62608150 WEB: http://www.redhat.com/ -- C-A-S-P-A-R, Caspar /kæspɑ:/ ;-) ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
