From: akpm@linux-foundation.org
To: linf@wangsu.com, mm-commits@vger.kernel.org
Subject: + mm-readaheadc-fix-incorrect-comments-for-get_init_ra_size.patch added to -mm tree
Date: Tue, 19 Oct 2021 14:36:18 -0700 [thread overview]
Message-ID: <20211019213618.DTPx9UTok%akpm@linux-foundation.org> (raw)
The patch titled
Subject: mm/readahead.c: fix incorrect comments for get_init_ra_size
has been added to the -mm tree. Its filename is
mm-readaheadc-fix-incorrect-comments-for-get_init_ra_size.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/mm-readaheadc-fix-incorrect-comments-for-get_init_ra_size.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/mm-readaheadc-fix-incorrect-comments-for-get_init_ra_size.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Lin Feng <linf@wangsu.com>
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.
Link: https://lkml.kernel.org/r/20211019104812.135602-1-linf@wangsu.com
Signed-off-by: Lin Feng <linf@wangsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/readahead.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/readahead.c~mm-readaheadc-fix-incorrect-comments-for-get_init_ra_size
+++ a/mm/readahead.c
@@ -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 linf@wangsu.com are
mm-readaheadc-fix-incorrect-comments-for-get_init_ra_size.patch
reply other threads:[~2021-10-19 21:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211019213618.DTPx9UTok%akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=linf@wangsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox