caedadcc6f
The old max memory search algorithm is using Binary Search algorithm to find last successful memory allocation. But each successful memory allocation takes times. Since the unsuccessful memory allocation returns very quick. Changing the search algorithm to find first successful memory allocation starting from MAX, each testing step with granularity interval will speed up this test. Change-Id: Idada3c6f750c94f3bb223f4f3bff4e4ebd3e98f7 Signed-off-by: James Zhu <James.Zhu@amd.com>