diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2021-09-02 14:53:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-03 09:58:10 -0700 |
commit | 3047250972ff935b1d7a0629fa3acb04c12dcc07 (patch) | |
tree | dafce1d1a6e20b3798b6279bff92466cf0d8336c /fs/drop_caches.c | |
parent | 20792ebf3eeb828a692b29f3000673cb9ca83c3a (diff) | |
download | lwn-3047250972ff935b1d7a0629fa3acb04c12dcc07.tar.gz lwn-3047250972ff935b1d7a0629fa3acb04c12dcc07.zip |
mm: remove irqsave/restore locking from contexts with irqs enabled
The page cache deletion paths all have interrupts enabled, so no need to
use irqsafe/irqrestore locking variants.
They used to have irqs disabled by the memcg lock added in commit
c4843a7593a9 ("memcg: add per cgroup dirty page accounting"), but that has
since been replaced by memcg taking the page lock instead, commit
0a31bc97c80c ("mm: memcontrol: rewrite uncharge AP").
Link: https://lkml.kernel.org/r/20210614211904.14420-1-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/drop_caches.c')
0 files changed, 0 insertions, 0 deletions