[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <a16d8181-3bb4-90cc-3c4b-ac44529494ed@molgen.mpg.de>
Date: Thu, 14 Dec 2017 07:49:29 +0100
From: Paul Menzel <pmenzel+linux-cgroups@...gen.mpg.de>
To: Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...nel.org>,
Vladimir Davydov <vdavydov.dev@...il.com>
Cc: cgroups@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, it+linux-cgroups@...gen.mpg.de
Subject: mm/memcontrol.c:5364:1: warning: the frame size of 1032 bytes is
larger than 1024 bytes [-Wframe-larger-than=]
Dear Linux folks,
I enabled the undefined behavior sanitizer, and built Linus’ master
branch under Ubuntu 17.10 with gcc (Ubuntu 7.2.0-8ubuntu3) 7.2.0.
```
$ grep UBSAN /boot/config-4.15.0-rc3+
CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y
# CONFIG_ARCH_WANTS_UBSAN_NO_NULL is not set
CONFIG_UBSAN=y
CONFIG_UBSAN_SANITIZE_ALL=y
# CONFIG_UBSAN_ALIGNMENT is not set
CONFIG_UBSAN_NULL=y
```
The warning below is shown when building Linux.
```
$ git describe --tags
v4.15-rc3-37-gd39a01eff9af
$ git log --oneline -1
d39a01eff9af (HEAD -> master, origin/master, origin/HEAD) Merge tag
'platform-drivers-x86-v4.15-3' of
git://git.infradead.org/linux-platform-drivers-x86
[…]
$ make -j
[…]
mm/memcontrol.c: In function ‘memory_stat_show’:
mm/memcontrol.c:5364:1: warning: the frame size of 1032 bytes is larger
than 1024 bytes [-Wframe-larger-than=]
}
^
[…]
```
Kind regards,
Paul
View attachment "config-4.15.0-rc3+" of type "text/plain" (212468 bytes)
Powered by blists - more mailing lists