Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "page cache: fix page_cache_next/prev_miss off by one"
This reverts commit 9425c59 The reverted commit fixed up routines primarily used by readahead code such that they could also be used by hugetlb. Unfortunately, this caused a performance regression as pointed out by the Closes: tag. The hugetlb code which uses page_cache_next_miss will be addressed in a subsequent patch. Link: https://lkml.kernel.org/r/[email protected] Fixes: 9425c59 ("page cache: fix page_cache_next/prev_miss off by one") Signed-off-by: Mike Kravetz <[email protected]> Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-lkp/[email protected] Reviewed-by: Sidhartha Kumar <[email protected]> Cc: Ackerley Tng <[email protected]> Cc: Erdem Aktas <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Muchun Song <[email protected]> Cc: Vishal Annapurve <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
- Loading branch information