[PATCH v2 2/2] fs: generic_file_buffered_read() now uses find_get_pages_contig

2020-10-25 Thread Kent Overstreet
Convert generic_file_buffered_read() to get pages to read from in batches, and then copy data to userspace from many pages at once - in particular, we now don't touch any cachelines that might be contended while we're in the loop to copy data to userspace. This is is a performance improvement on w

Re: [PATCH v2 2/2] fs: generic_file_buffered_read() now uses find_get_pages_contig

2020-06-17 Thread Andrew Morton
On Tue, 9 Jun 2020 21:36:42 -0400 Kent Overstreet wrote: > Convert generic_file_buffered_read() to get pages to read from in > batches, and then copy data to userspace from many pages at once - in > particular, we now don't touch any cachelines that might be contended > while we're in the loop

[PATCH v2 2/2] fs: generic_file_buffered_read() now uses find_get_pages_contig

2020-06-09 Thread Kent Overstreet
Convert generic_file_buffered_read() to get pages to read from in batches, and then copy data to userspace from many pages at once - in particular, we now don't touch any cachelines that might be contended while we're in the loop to copy data to userspace. This is is a performance improvement on w