From: Caspar Z. <ca...@ca...> - 2012-03-13 07:55:04
|
An usable unaligned addr various on different platforms, it's better to generate the addr dynamically instead of using a hard-coded one. This patch generate this unaligned addr based on first run. Signed-off-by: Caspar Zhang <ca...@ca...> --- .../kernel/mem/hugetlb/hugeshmat/hugeshmat01.c | 29 ++++++++++--------- 1 files changed, 15 insertions(+), 14 deletions(-) |