Skip to contentSkip to conversation

+ mm-writeback-commit-reason-of-wb_reason_forker_thread-mismatch-name.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Jun 25, 2013 Page cache

lore
Share & tools
lore
#0 lore raw

Subject: + mm-writeback-commit-reason-of-wb_reason_forker_thread-mismatch-name.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Tue, 25 Jun 2013 15:23:48 -0700

The patch titled
Subject: mm/writeback: commit reason of WB_REASON_FORKER_THREAD mismatch name
has been added to the -mm tree. Its filename is
mm-writeback-commit-reason-of-wb_reason_forker_thread-mismatch-name.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: Wanpeng Li <[email protected]>
Subject: mm/writeback: commit reason of WB_REASON_FORKER_THREAD mismatch name

After 839a8e86 ("writeback: replace custom worker pool implementation with unbound workqueue"), there is no bdi forker thread any more. However, WB_REASON_FORKER_THREAD is still used due to it is TPs userland visible and we won't be exposing exactly the same information with just a different name.

---

 include/linux/writeback.h |    6 ++++++
 1 file changed, 6 insertions(+)
include/linux/writeback.h renamed from include/linux/writeback.h~mm-writeback-commit-reason-of-wb_reason_forker_thread-mismatch-name +6 -0
diff -puN include/linux/writeback.h~mm-writeback-commit-reason-of-wb_reason_forker_thread-mismatch-name include/linux/writeback.h
@@ -47,6 +47,12 @@ enum wb_reason {
 	WB_REASON_LAPTOP_TIMER,
 	WB_REASON_FREE_MORE_MEM,
 	WB_REASON_FS_FREE_SPACE,
+	/*
+	 * There is no bdi forker thread any more and works are done
+	 * by emergency worker, however, this is TPs userland visible
+	 * and we'll be exposing exactly the same information,
+	 * so it has a mismatch name.
+	 */
 	WB_REASON_FORKER_THREAD,
 
 	WB_REASON_MAX,

_

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

mm-memory-hotplug-fix-lowmem-count-overflow-when-offline-pages.patch mm-memory-hotplug-fix-lowmem-count-overflow-when-offline-pages-fix.patch mm-pageblock-remove-get-set_pageblock_flags.patch mm-hugetlb-remove-hugetlb_prefault.patch mm-hugetlb-use-already-exist-interface-huge_page_shift.patch mm-writeback-remove-wb_reason_name.patch mm-writeback-dont-check-force_wait-to-handle-bdi-work_list.patch mm-writeback-commit-reason-of-wb_reason_forker_thread-mismatch-name.patch mm-page_alloc-fix-doc-for-numa_zonelist_order.patch mm-thp-fix-doc-for-transparent-huge-zero-page.patch mm-pgtable-dont-accumulate-addr-during-pgd-prepopulate-pmd.patch