Searched hist:"5 d8edfb9" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/iomap/ |
H A D | buffered-io.c | 5d8edfb9 Sat May 20 11:13:20 CDT 2023 Matthew Wilcox (Oracle) <willy@infradead.org> iomap: Copy larger chunks from userspace
If we have a large folio, we can copy in larger chunks than PAGE_SIZE. Start at the maximum page cache size and shrink by half every time we hit the "we are short on memory" problem.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org>
|