]> git.baikalelectronics.ru Git - kernel.git/commit
mm: Convert truncate to XArray
authorMatthew Wilcox <willy@infradead.org>
Sun, 26 Nov 2017 03:52:46 +0000 (22:52 -0500)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:46:37 +0000 (10:46 -0400)
commit6bf5a51c76b1392812aa07933b0cad78e955a1cd
tree54eed2336da530d75256978f8823cae8baccc909
parent14eae60d8af5d71c4b2fde6e41b823b46b9bf3e2
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>
mm/truncate.c