summaryrefslogtreecommitdiff
path: root/include/scsi/scsi_transport_spi.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2021-08-17 06:36:31 +0300
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-01-04 21:15:33 +0300
commit9f2b04a25a41b1f41b3cead4f56854a4192ec5b0 (patch)
tree27f4d1ed8d4626e3bf9938c1e768eefdc4e4bfd9 /include/scsi/scsi_transport_spi.h
parent5bf34d7c7ffe773c3b3c1b6ebf39e0f34a2436ec (diff)
downloadlinux-9f2b04a25a41b1f41b3cead4f56854a4192ec5b0.tar.xz
filemap: Add folio_put_wait_locked()
Convert all three callers of put_and_wait_on_page_locked() to folio_put_wait_locked(). This shrinks the kernel overall by 19 bytes. filemap_update_page() shrinks by 19 bytes while __migration_entry_wait() is unchanged. folio_put_wait_locked() is 14 bytes smaller than put_and_wait_on_page_locked(), but pmd_migration_entry_wait() grows by 14 bytes. It removes the assumption from pmd_migration_entry_wait() that pages cannot be larger than a PMD (which is true today, but may be interesting to explore in the future). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Diffstat (limited to 'include/scsi/scsi_transport_spi.h')
0 files changed, 0 insertions, 0 deletions