From: Naresh Kamboju <naresh.kamboju@linaro.org>
To: Linux-Next Mailing List <linux-next@vger.kernel.org>,
linux-mm <linux-mm@kvack.org>,
open list <linux-kernel@vger.kernel.org>,
lkft-triage@lists.linaro.org
Cc: Andrew Morton <akpm@linux-foundation.org>,
Stephen Rothwell <sfr@canb.auug.org.au>,
Arnd Bergmann <arnd@arndb.de>, Zi Yan <ziy@nvidia.com>,
Christophe Leroy <christophe.leroy@csgroup.eu>,
David Hildenbrand <david@redhat.com>,
Eric Ren <renzhengeek@gmail.com>,
kernel test robot <lkp@intel.com>,
Mel Gorman <mgorman@techsingularity.net>,
Mike Rapoport <rppt@linux.ibm.com>,
Minchan Kim <minchan@kernel.org>,
Oscar Salvador <osalvador@suse.de>,
Vlastimil Babka <vbabka@suse.cz>,
Chen Wandun <chenwandun@huawei.com>, NeilBrown <neilb@suse.de>,
joao.m.martins@oracle.com, mawupeng1@huawei.com,
Wei Yang <richard.weiyang@gmail.com>, Song Liu <song@kernel.org>
Subject: [next] mm: libhugetlbfs: WARNING: at mm/page_alloc.c:5368 __alloc_pages
Date: Fri, 29 Apr 2022 16:50:25 +0530 [thread overview]
Message-ID: <CA+G9fYveMF-NU-rvrsbaora2g2QWxrkF7AWViuDrJyN9mNScJg@mail.gmail.com> (raw)
Following kernel warning notices on Linux next-20220427 till date next-20220429
on qemu_arm64 and arm64 devices.
While testing libhugetlbfs test suite and ltp mm and hugetlb.
Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Test log:
----------
truncate_above_4GB (2M: 64): PASS
brk_near_huge (2M: 64): brk_near_huge: malloc.c:2401: sysmalloc:
Assertion `(old_top == initial_top (av) && old_size == 0) ||
((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) &&
((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
[ 15.685019] audit: type=1701 audit(1651222753.772:25):
auid=4294967295 uid=0 gid=0 ses=4294967295 pid=454
comm=\"brk_near_huge\"
exe=\"/usr/lib/libhugetlbfs/tests/obj64/brk_near_huge\" sig=6 res=1
[ 15.685629] ------------[ cut here ]------------
[ 15.685631] WARNING: CPU: 2 PID: 454 at mm/page_alloc.c:5368
__alloc_pages+0x624/0xd50
[ 15.688908] Modules linked in: rfkill crct10dif_ce fuse
[ 15.689714] CPU: 2 PID: 454 Comm: brk_near_huge Not tainted
5.18.0-rc4-next-20220429 #1
[ 15.691218] Hardware name: linux,dummy-virt (DT)
[ 15.691716] pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 15.693109] pc : __alloc_pages+0x624/0xd50
[ 15.693686] lr : alloc_pages+0xb8/0x170
[ 15.694358] sp : ffff800008813630
[ 15.694662] x29: ffff800008813630 x28: 000000000000000e x27: ffffbc6414591650
[ 15.695663] x26: ffff0000c089f800 x25: ffff800008813c58 x24: 000000000000000e
[ 15.697045] x23: 0000000000000dc0 x22: 0000000000000000 x21: 000000000000000e
[ 15.697866] x20: ffffbc64160189a0 x19: 0000000000040dc0 x18: ffffffffffffffff
[ 15.699028] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 15.700073] x14: 0000000000000000 x13: 0000000000000000 x12: ffff0000ff7f5b58
[ 15.701344] x11: 0000000000000068 x10: ffffbc6414f7d000 x9 : ffffbc6413530e78
[ 15.702773] x8 : fffffc000321c001 x7 : 00000000f0000000 x6 : 0000000000000001
[ 15.703659] x5 : 0000000000000000 x4 : ffff0000c1a930c0 x3 : 0000000000000000
[ 15.705314] x2 : 0000000000000000 x1 : 0000000000000001 x0 : 0000000000040dc0
[ 15.706179] Call trace:
[ 15.706712] __alloc_pages+0x624/0xd50
[ 15.707231] alloc_pages+0xb8/0x170
[ 15.707870] kmalloc_order+0x40/0x100
[ 15.708482] kmalloc_order_trace+0x38/0x130
[ 15.709246] __kmalloc+0x37c/0x3e0
[ 15.709691] __regset_get+0xa0/0x104
[ 15.710131] regset_get_alloc+0x20/0x2c
[ 15.710524] elf_core_dump+0x3a8/0xd10
[ 15.711065] do_coredump+0xe50/0x138c
[ 15.711640] get_signal+0x860/0x920
[ 15.712249] do_notify_resume+0x184/0x1480
[ 15.712723] el0_svc+0xa8/0xc0
[ 15.713052] el0t_64_sync_handler+0xbc/0x140
[ 15.713741] el0t_64_sync+0x18c/0x190
[ 15.714206] ---[ end trace 0000000000000000 ]---
task-size-overrun (2M: 64): PASS
metadata:
git_ref: master
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_sha: 5469f0c06732a077c70a759a81f2a1f00b277694
git_describe: next-20220429
kernel_version: 5.18.0-rc4
kernel-config: https://builds.tuxbuild.com/28SmyZKz6g9xF6bf4J2YibE8Lo0/config
kernel-config: https://builds.tuxbuild.com/28SmyZKz6g9xF6bf4J2YibE8Lo0/config
vmlinux : https://builds.tuxbuild.com/28SmyZKz6g9xF6bf4J2YibE8Lo0/vmlinux.xz
System.map : https://builds.tuxbuild.com/28SmyZKz6g9xF6bf4J2YibE8Lo0/System.map
Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
--
Linaro LKFT
https://lkft.linaro.org
next reply other threads:[~2022-04-29 11:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-29 11:20 Naresh Kamboju [this message]
2022-04-29 16:03 ` Qian Cai
2022-04-29 22:11 ` Naresh Kamboju
2022-05-02 12:41 ` Qian Cai
2022-05-03 22:26 ` Qian Cai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+G9fYveMF-NU-rvrsbaora2g2QWxrkF7AWViuDrJyN9mNScJg@mail.gmail.com \
--to=naresh.kamboju@linaro.org \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=chenwandun@huawei.com \
--cc=christophe.leroy@csgroup.eu \
--cc=david@redhat.com \
--cc=joao.m.martins@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-next@vger.kernel.org \
--cc=lkft-triage@lists.linaro.org \
--cc=lkp@intel.com \
--cc=mawupeng1@huawei.com \
--cc=mgorman@techsingularity.net \
--cc=minchan@kernel.org \
--cc=neilb@suse.de \
--cc=osalvador@suse.de \
--cc=renzhengeek@gmail.com \
--cc=richard.weiyang@gmail.com \
--cc=rppt@linux.ibm.com \
--cc=sfr@canb.auug.org.au \
--cc=song@kernel.org \
--cc=vbabka@suse.cz \
--cc=ziy@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox