From 0790c4cc405a65510e33dd4e979caee2f563983b Mon Sep 17 00:00:00 2001 From: Pak Lui Date: Tue, 7 Aug 2007 14:40:13 +0000 Subject: [PATCH] * Update the comment for the previous fix. Thanks Gleb for pointing out. This commit was SVN r15790. --- ompi/mca/mpool/sm/mpool_sm_component.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ompi/mca/mpool/sm/mpool_sm_component.c b/ompi/mca/mpool/sm/mpool_sm_component.c index 54dd1e31db..511e1c2558 100644 --- a/ompi/mca/mpool/sm/mpool_sm_component.c +++ b/ompi/mca/mpool/sm/mpool_sm_component.c @@ -96,8 +96,9 @@ static int mca_mpool_sm_open(void) "bucket", &mca_mpool_sm_component.sm_allocator_name); - /* register values as string instead of int, to allow max_size and sm_size - * to be set greater than 2GB for 32 bit, and even more for 64 bit */ + /* register values as string instead of int. A string-converted + * signed long int allows the max_size or the sm_size + * to be set up to 2GB-1 for 32 bit and much greater for 64 bit. */ asprintf(&size_str, "%ld", default_max); mca_base_param_reg_string(&mca_mpool_sm_component.super.mpool_version, "max_size",