Re: [Cluster-devel] [PATCH v10 12/25] mm: Move end_index check out of readahead loop

2020-03-24 Thread Christoph Hellwig
On Mon, Mar 23, 2020 at 01:22:46PM -0700, Matthew Wilcox wrote: > From: "Matthew Wilcox (Oracle)" > > By reducing nr_to_read, we can eliminate this check from inside the loop. > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: John Hubbard > Reviewed-by: William Kucharski Looks good,

Re: [Cluster-devel] [PATCH v10 12/25] mm: Move end_index check out of readahead loop

2020-03-23 Thread Eric Biggers
On Mon, Mar 23, 2020 at 01:22:46PM -0700, Matthew Wilcox wrote: > From: "Matthew Wilcox (Oracle)" > > By reducing nr_to_read, we can eliminate this check from inside the loop. > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: John Hubbard > Reviewed-by: William Kucharski > --- >

[Cluster-devel] [PATCH v10 12/25] mm: Move end_index check out of readahead loop

2020-03-23 Thread Matthew Wilcox
From: "Matthew Wilcox (Oracle)" By reducing nr_to_read, we can eliminate this check from inside the loop. Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: John Hubbard Reviewed-by: William Kucharski --- mm/readahead.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-)