summaryrefslogtreecommitdiffstats
path: root/certs/blacklist.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2021-03-02 01:38:25 +0100
committerMatthew Wilcox (Oracle) <willy@infradead.org>2021-09-27 15:27:30 +0200
commit7c23c782d5d57df97509ed2fc17f9b9490f18f1b (patch)
treeb4669c3184c0f795c5c15b086a0257abed664571 /certs/blacklist.c
parentmm/filemap: Add folio_unlock() (diff)
downloadlinux-7c23c782d5d57df97509ed2fc17f9b9490f18f1b.tar.xz
linux-7c23c782d5d57df97509ed2fc17f9b9490f18f1b.zip
mm/filemap: Add folio_lock()
This is like lock_page() but for use by callers who know they have a folio. Convert __lock_page() to be __folio_lock(). This saves one call to compound_head() per contended call to lock_page(). Saves 455 bytes of text; mostly from improved register allocation and inlining decisions. __folio_lock is 59 bytes while __lock_page was 79. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-by: Jeff Layton <jlayton@kernel.org> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Reviewed-by: William Kucharski <william.kucharski@oracle.com> Reviewed-by: David Howells <dhowells@redhat.com> Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Diffstat (limited to 'certs/blacklist.c')
0 files changed, 0 insertions, 0 deletions