Thread

Commits

  1. Fix calculation of how much shared memory is required to store a TOC.

  1. [bug fix] Fix the size calculation for shmem TOC

    tsunakawa.takay@fujitsu.com <tsunakawa.takay@fujitsu.com> — 2021-01-14T08:47:12Z

    Hello,
    
    
    The attached patch fixes a trivial mistake in the calculation of shmem TOC.  The original code allocates unduly large memory because it adds the result of add_size() to its left argument.
    
    
    Regards
    Takayuki Tsunakawa
    
    
  2. Re: [bug fix] Fix the size calculation for shmem TOC

    Fujii Masao <masao.fujii@oss.nttdata.com> — 2021-01-14T09:15:44Z

    
    On 2021/01/14 17:47, tsunakawa.takay@fujitsu.com wrote:
    > Hello,
    > 
    > 
    > The attached patch fixes a trivial mistake in the calculation of shmem TOC.  The original code allocates unduly large memory because it adds the result of add_size() to its left argument.
    Thanks for the report and patch! The patch looks good to me.
    
    Regards,
    
    -- 
    Fujii Masao
    Advanced Computing Technology Center
    Research and Development Headquarters
    NTT DATA CORPORATION
    
    
    
    
  3. Re: [bug fix] Fix the size calculation for shmem TOC

    Fujii Masao <masao.fujii@oss.nttdata.com> — 2021-01-15T03:47:43Z

    
    On 2021/01/14 18:15, Fujii Masao wrote:
    > 
    > 
    > On 2021/01/14 17:47, tsunakawa.takay@fujitsu.com wrote:
    >> Hello,
    >>
    >>
    >> The attached patch fixes a trivial mistake in the calculation of shmem TOC.  The original code allocates unduly large memory because it adds the result of add_size() to its left argument.
    > Thanks for the report and patch! The patch looks good to me.
    
    Pushed and back-patched to v11. Thanks!
    
    Regards,
    
    -- 
    Fujii Masao
    Advanced Computing Technology Center
    Research and Development Headquarters
    NTT DATA CORPORATION