diff options
author | Chi Wu <wuchi.zero@gmail.com> | 2021-06-28 19:35:37 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-06-29 10:53:47 -0700 |
commit | 87e3789749750d83aa085f04f74242087de0154b (patch) | |
tree | 1e6ba1c4c4b02f2fd86ad463b2eff74675af3585 /fs | |
parent | 0323155437870dbbae6e30fb659d7514c9f649da (diff) | |
download | linux-stable-87e3789749750d83aa085f04f74242087de0154b.tar.gz linux-stable-87e3789749750d83aa085f04f74242087de0154b.tar.bz2 linux-stable-87e3789749750d83aa085f04f74242087de0154b.zip |
mm/page-writeback: use __this_cpu_inc() in account_page_dirtied()
As account_page_dirtied() was always protected by xa_lock_irqsave(), so
using __this_cpu_inc() is better.
Link: https://lkml.kernel.org/r/20210512144742.4764-1-wuchi.zero@gmail.com
Signed-off-by: Chi Wu <wuchi.zero@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Howard Cochran <hcochran@kernelspring.com>
Cc: Miklos Szeredi <mszeredi@redhat.com>
Cc: Sedat Dilek <sedat.dilek@gmail.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions