]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
glibc: malloc: Add missing arena lock in malloc_info
authorZhixiong Chi <zhixiong.chi@windriver.com>
Mon, 27 Nov 2017 06:53:59 +0000 (22:53 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Jan 2018 12:57:43 +0000 (12:57 +0000)
commit3ab224951c3210e8a5a3a1f5995372b0f2501163
treed87f81f5f097e70b712b084de021a0ee750abd7f
parentb894de417618c4a79df074dc22912466e2501ad5
glibc: malloc: Add missing arena lock in malloc_info

There are the multiple process crashes seen while using malloc_info.
Obtain the size information while the arena lock is acquired, and only
print it later.

Backport patch from https://sourceware.org/git/gitweb.cgi?p=glibc.git;
h=7a9368a1174cb15b9f1d6342e0e10dd90dae238d

(From OE-Core rev: 7ecbb31fbaf1d056c9301166700e2967bd623489)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc/0029-malloc-add-missing-arena-lock-in-malloc-info.patch [new file with mode: 0644]
meta/recipes-core/glibc/glibc_2.26.bb