Skip to contentSkip to conversation

mm-readaheadc-fix-incorrect-comments-for-get_init_ra_size.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 11, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/readahead.c: fix incorrect comments for get_init_ra_size
has been removed from the -mm tree. Its filename was
mm-readaheadc-fix-incorrect-comments-for-get_init_ra_size.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Lin Feng <[email protected]>
Subject: mm/readahead.c: fix incorrect comments for get_init_ra_size

In fact, formated values returned by get_init_ra_size are not that intuitive. This patch make the comments reflect its truth.

---

 mm/readahead.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/readahead.c renamed from mm/readahead.c~mm-readaheadc-fix-incorrect-comments-for-get_init_ra_size +1 -1
@@ -309,7 +309,7 @@ void force_page_cache_ra(struct readahea
  * Set the initial window size, round to next power of 2 and square
  * for small size, x 4 for medium, and x 2 for large
  * for 128k (32 page) max ra
- * 1-8 page = 32k initial, > 8 page = 128k initial
+ * 1-2 page = 16k, 3-4 page 32k, 5-8 page = 64k, > 8 page = 128k initial
  */
 static unsigned long get_init_ra_size(unsigned long size, unsigned long max)
 {

_

Patches currently in -mm which might be from [email protected] are