mm: fix too many wrong kasan report [1/1]
authorTao Zeng <tao.zeng@amlogic.com>
Tue, 25 Dec 2018 09:43:02 +0000 (17:43 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Wed, 26 Dec 2018 12:12:52 +0000 (20:12 +0800)
commitd1e97f76118a8085ac3dd00cc537f2a9e7b030e5
tree9c089f61ef6e92213b6d78542d1b5c843938f2a3
parent21aed53e998a0e5beb4f36d07e8c5f950657922c
mm: fix too many wrong kasan report [1/1]

PD#SWPL-3583

Problem:
After merge change:
http://scgit.amlogic.com:8080/#/c/55018/
Too many wrong kasan report occur when booting kernel

Solution:
Fix kasan poison address range when free wasted memory.

Verify:
P212

Change-Id: I576a7edb7b4e70f9c6c782639f433ad45bafba1d
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
include/linux/kasan.h
mm/kasan/kasan.c
mm/slab_common.c
mm/slub.c