commit | e292e6d644ce7ba4036494dc1b6ae1dcd79e0a86 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox (Oracle) <willy@infradead.org> | Wed Mar 10 10:46:41 2021 -0500 |
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | Tue Jan 04 13:15:34 2022 -0500 |
tree | 00949e5cef1c6e7e58522912b2f5fd7a9670382b | |
parent | 79598cedad85d192dac2b85799f44aa31f7f2279 [diff] |
filemap: Convert filemap_fault to folio Instead of converting back-and-forth between the actual page and the head page, just convert once at the end of the function where we set the vmf->page. Saves 241 bytes of text, or 15% of the size of filemap_fault(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: William Kucharski <william.kucharski@oracle.com>