]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc641def6a05e9735e95fa0f5c000d471dbc27ec8
treec57863631710a2f8cd9147fd43406d35b447b7a9
parentb299b514b6c241a7c04b93819bd0b5b85e5fae2f
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