diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2018-12-28 00:34:16 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-12-28 12:11:47 -0800 |
commit | fecd4a50baaebf6bde7f9e0b88fef13ffe5d98a1 (patch) | |
tree | 4b86b22ea082542cf4cd82f806d4d718d853e4f8 /mm/shmem.c | |
parent | 46a3679b8190101e4ebdfe252ef79e6150a4f2ac (diff) | |
download | linux-fecd4a50baaebf6bde7f9e0b88fef13ffe5d98a1.tar.bz2 |
mm: remove reset of pcp->counter in pageset_init()
per_cpu_pageset is cleared by memset, it is not necessary to reset it
again.
Link: http://lkml.kernel.org/r/20181021023920.5501-1-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions