diff options
| author | Chi Wu <[email protected]> | 2021-06-28 19:35:37 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-06-29 10:53:47 -0700 |
| commit | 87e3789749750d83aa085f04f74242087de0154b (patch) | |
| tree | 1e6ba1c4c4b02f2fd86ad463b2eff74675af3585 /tools/perf/scripts/python | |
| parent | 0323155437870dbbae6e30fb659d7514c9f649da (diff) | |
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/[email protected]
Signed-off-by: Chi Wu <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Cc: Howard Cochran <[email protected]>
Cc: Miklos Szeredi <[email protected]>
Cc: Sedat Dilek <[email protected]>
Cc: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions