Skip to content
Commit 69b6c131 authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

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: default avatarMatthew Wilcox <willy@infradead.org>
parent a97e7904
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment