diff options
| author | Alexander Potapenko <glider@google.com> | 2016-04-28 16:19:09 -0700 |
|---|---|---|
| committer | Paul Lawrence <paullawrence@google.com> | 2017-12-14 08:19:57 -0800 |
| commit | 5156a49621ae5be3c168587ffca8f772968f6a66 (patch) | |
| tree | fe36c8f4b338a0ddfa9da9332430821e262ec122 /mm/mempool.c | |
| parent | e9741edda65b94d16c5500ce45622c9dcee877c7 (diff) | |
UPSTREAM: lib/stackdepot.c: allow the stack trace hash to be zero
Do not bail out from depot_save_stack() if the stack trace has zero hash.
Initially depot_save_stack() silently dropped stack traces with zero
hashes, however there's actually no point in reserving this zero value.
Reported-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Alexander Potapenko <glider@google.com>
Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Bug: 64145065
(cherry-picked from 33334e25769c6ad69b983379578f42581d99a2f9)
Change-Id: I44c9c5a881e2f4176c3946905b8f11b26f45bc00
Signed-off-by: Paul Lawrence <paullawrence@google.com>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions
