diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-09-02 18:39:52 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-09-11 20:26:11 -0700 |
commit | e7b72c48d677c244aae5aee1a72bc57b84fd495c (patch) | |
tree | 025c3c2d45b68118deca13d0210b4b7e662d5325 /io_uring/fs.h | |
parent | 9a157dd8fe5ac32304eff8a7722e30352acaa7f0 (diff) | |
download | linux-e7b72c48d677c244aae5aee1a72bc57b84fd495c.tar.gz |
mm/mremap_pages: save a few cycles in get_dev_pagemap()
Use 'percpu_ref_tryget_live_rcu()' instead of 'percpu_ref_tryget_live()'
to save a few cycles when it is known that the rcu lock is already
taken/released.
Link: https://lkml.kernel.org/r/9ef1562a1975371360f3e263856e9f1c5749b656.1662136782.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'io_uring/fs.h')
0 files changed, 0 insertions, 0 deletions