memfd: Convert memfd_tag_pins to XArray
authorMatthew Wilcox <willy@infradead.org>
Wed, 22 Nov 2017 13:37:38 +0000 (08:37 -0500)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:46:41 +0000 (10:46 -0400)
commitef3038a573aa8bf2f3797b110f7244b55a0e519c
treec57863631710a2f8cd9147fd43406d35b447b7a9
parent2313216f861f955c2091f1593ea95d5dc88493f4
memfd: Convert memfd_tag_pins to XArray

Switch to a batch-processing model like memfd_wait_for_pins() and
use the xa_state previously set up by memfd_wait_for_pins().

Signed-off-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
mm/memfd.c