]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mm/slub: fix missing ALLOC_SLOWPATH stat when bulk alloc
authorAbel Wu <wuyun.wu@huawei.com>
Tue, 13 Oct 2020 23:48:43 +0000 (16:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 14 Oct 2020 01:38:27 +0000 (18:38 -0700)
commit9f986d998a3001b6eeb189be8444bc0360e61e24
tree51a1a364958d941d87d2e2c2d4afcd03af2c4d75
parentc270cf3041a5cb7c5853d45a794309e66576493a
mm/slub: fix missing ALLOC_SLOWPATH stat when bulk alloc

The ALLOC_SLOWPATH statistics is missing in bulk allocation now.  Fix it
by doing statistics in alloc slow path.

Signed-off-by: Abel Wu <wuyun.wu@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Hewenliang <hewenliang4@huawei.com>
Cc: Hu Shiyuan <hushiyuan@huawei.com>
Link: http://lkml.kernel.org/r/20200811022427.1363-1-wuyun.wu@huawei.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c