Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422741Ab3FUA3N (ORCPT ); Thu, 20 Jun 2013 20:29:13 -0400 Received: from e28smtp09.in.ibm.com ([122.248.162.9]:59473 "EHLO e28smtp09.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161331Ab3FUA3K (ORCPT ); Thu, 20 Jun 2013 20:29:10 -0400 From: Wanpeng Li To: Andrew Morton Cc: Michal Hocko , David Rientjes , "Kirill A. Shutemov" , Fengguang Wu , Rik van Riel , Andrew Shewmaker , Jiri Kosina , Namjae Jeon , Jan Kara , Tejun Heo , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Wanpeng Li Subject: [PATCH v5 3/6] commit reason of WB_REASON_FORKER_THREAD mismatch name Date: Fri, 21 Jun 2013 08:28:51 +0800 Message-Id: <1371774534-4139-3-git-send-email-liwanp@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1371774534-4139-1-git-send-email-liwanp@linux.vnet.ibm.com> References: <1371774534-4139-1-git-send-email-liwanp@linux.vnet.ibm.com> X-TM-AS-MML: No X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13062100-2674-0000-0000-00000980AE62 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1356 Lines: 41 Changelog: v4 -> v5: * indent the comment After commit 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. Reviewed-by: Tejun Heo Signed-off-by: Wanpeng Li --- include/linux/writeback.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/linux/writeback.h b/include/linux/writeback.h index 8b5cec4..703a48a 100644 --- a/include/linux/writeback.h +++ b/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 somewhat userland + * visible and we'll be exposing exactly the same information, + * so it has a mismatch name. + */ WB_REASON_FORKER_THREAD, WB_REASON_MAX, -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/