+ mm-readaheadc-remove-unused-file_ra_state-from-count_history_pages.patch added to -mm tree
Subsystems (2)
[email protected]
maintainerSubject: + mm-readaheadc-remove-unused-file_ra_state-from-count_history_pages.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Tue, 10 Jun 2014 15:41:27 -0700
The patch titled
Subject: mm/readahead.c: remove unused file_ra_state from count_history_pages
has been added to the -mm tree. Its filename is
mm-readaheadc-remove-unused-file_ra_state-from-count_history_pages.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-readaheadc-remove-unused-file_ra_state-from-count_history_pages.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-readaheadc-remove-unused-file_ra_state-from-count_history_pages.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/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Fabian Frederick <[email protected]>
Subject: mm/readahead.c: remove unused file_ra_state from count_history_pages
count_history_pages does only call page_cache_prev_hole in rcu_lock context using address_space mapping. There's no need to have file_ra_state here.
---
mm/readahead.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
mm/readahead.c renamed from mm/readahead.c~mm-readaheadc-remove-unused-file_ra_state-from-count_history_pages +1 -2
@@ -326,7 +326,6 @@ static unsigned long get_next_ra_size(st* - thrashing threshold in memory tight systems */ static pgoff_t count_history_pages (struct address_space *mapping, -struct file_ra_state *ra,pgoff_t offset,unsigned long max) {pgoff_t head;
@@ -349,7 +348,7 @@ static int try_context_readahead(struct {pgoff_t size; - size =count_history_pages (mapping, ra, offset, max); + size =count_history_pages (mapping, offset, max);/* * not enough history pages:
_
Patches currently in -mm which might be from [email protected] are
origin.patch
fs-cifs-remove-obsolete-__constant.patch kernel-posix-timersc-code-clean-up.patch kernel-posix-timersc-code-clean-up-checkpatch-fixes.patch fs-ext4-fsyncc-generic_file_fsync-call-based-on-barrier-flag.patch mm-readaheadc-remove-unused-file_ra_state-from-count_history_pages.patch fs-isofs-logging-clean-up.patch
linux-next.patch
init-mainc-code-clean-up.patch kernel-kprobesc-convert-printk-to-pr_foo.patch kernel-watchdogc-convert-printk-pr_warning-to-pr_foo.patch