diff options
author | Matthew Wilcox <willy@infradead.org> | 2017-11-25 22:52:46 -0500 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2018-10-21 10:46:37 -0400 |
commit | 69b6c1319b6588b65d853055d5336f662f6cb1a2 (patch) | |
tree | 54eed2336da530d75256978f8823cae8baccc909 /mm/swap_state.c | |
parent | a97e7904c0806309fd77103005bb7820c3f1c5e4 (diff) | |
download | lwn-69b6c1319b6588b65d853055d5336f662f6cb1a2.tar.gz lwn-69b6c1319b6588b65d853055d5336f662f6cb1a2.zip |
mm: Convert truncate to XArray
This is essentially xa_cmpxchg() with the locking handled above us,
and it doesn't have to handle replacing a NULL entry.
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions