diff options
author | 2022-08-30 20:36:01 +0800 | |
---|---|---|
committer | 2022-09-26 19:46:04 -0700 | |
commit | 21c9e90ab9a4c991d21dd15cc5163c99a885d4a8 (patch) | |
tree | 705341267c4441163ed9e4c1f949c577b7dd1e65 /mm/migrate_device.c | |
parent | mm, hwpoison: use __PageMovable() to detect non-lru movable pages (diff) | |
download | wireguard-linux-21c9e90ab9a4c991d21dd15cc5163c99a885d4a8.tar.xz wireguard-linux-21c9e90ab9a4c991d21dd15cc5163c99a885d4a8.zip |
mm, hwpoison: use num_poisoned_pages_sub() to decrease num_poisoned_pages
Use num_poisoned_pages_sub() to combine multiple atomic ops into one. Also
num_poisoned_pages_dec() can be killed as there's no caller now.
Link: https://lkml.kernel.org/r/20220830123604.25763-4-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/migrate_device.c')
0 files changed, 0 insertions, 0 deletions