aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/highmem-internal.h
diff options
context:
space:
mode:
authorzhenwei pi <pizhenwei@bytedance.com>2022-05-12 20:23:10 -0700
committerAndrew Morton <akpm@linux-foundation.org>2022-05-13 07:20:19 -0700
commite240ac52f7da5986f9dcbe29d423b7b2f141b41b (patch)
tree29eaf4f711fccf9a14ae3db3fd90ae1f733eca45 /include/linux/highmem-internal.h
parentmm/hwpoison: disable hwpoison filter during removing (diff)
downloadwireguard-linux-e240ac52f7da5986f9dcbe29d423b7b2f141b41b.tar.xz
wireguard-linux-e240ac52f7da5986f9dcbe29d423b7b2f141b41b.zip
mm/memory-failure.c: simplify num_poisoned_pages_inc/dec
Originally, do num_poisoned_pages_inc() in memory failure routine, use num_poisoned_pages_dec() to rollback the number if filtered/ cancelled. Suggested by Naoya, do num_poisoned_pages_inc() only in action_result(), this make this clear and simple. Link: https://lkml.kernel.org/r/20220509105641.491313-6-pizhenwei@bytedance.com Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/highmem-internal.h')
0 files changed, 0 insertions, 0 deletions