diff options
author | Matthew Wilcox <willy@infradead.org> | 2017-11-22 11:11:31 -0500 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2018-10-21 10:46:40 -0400 |
commit | 2313216f861f955c2091f1593ea95d5dc88493f4 (patch) | |
tree | a99b5b43a66a6ee840e2b2619d2095c98623bd7d /usr | |
parent | 7ae3424fb4b5587d9b2db12a4b1040c52073dd5c (diff) | |
download | linux-2313216f861f955c2091f1593ea95d5dc88493f4.tar.bz2 |
memfd: Convert memfd_wait_for_pins to XArray
Simplify the locking by taking the spinlock while we walk the tree on
the assumption that many acquires and releases of the lock will be worse
than holding the lock while we process an entire batch of pages.
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions