From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f198.google.com (mail-pf0-f198.google.com [209.85.192.198]) by kanga.kvack.org (Postfix) with ESMTP id 9B5ED6B0253 for ; Mon, 13 Jun 2016 03:51:04 -0400 (EDT) Received: by mail-pf0-f198.google.com with SMTP id a69so224920060pfa.1 for ; Mon, 13 Jun 2016 00:51:04 -0700 (PDT) Received: from lgeamrelo13.lge.com (LGEAMRELO13.lge.com. [156.147.23.53]) by mx.google.com with ESMTP id n188si30860980pfn.2.2016.06.13.00.51.03 for ; Mon, 13 Jun 2016 00:51:03 -0700 (PDT) From: Minchan Kim Subject: [PATCH v1 0/3] per-process reclaim Date: Mon, 13 Jun 2016 16:50:55 +0900 Message-Id: <1465804259-29345-1-git-send-email-minchan@kernel.org> Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Rik van Riel , Minchan Kim , Redmond , "ZhaoJunmin Zhao(Junmin)" , Vinayak Menon , Juneho Choi , Sangwoo Park , Chan Gyun Jeong Hi all, http://thread.gmane.org/gmane.linux.kernel/1480728 I sent per-process reclaim patchset three years ago. Then, last feedback from akpm was that he want to know real usecase scenario. Since then, I got question from several embedded people of various company "why it's not merged into mainline" and heard they have used the feature as in-house patch and recenlty, I noticed android from Qualcomm started to use it. Of course, our product have used it and released it in real procuct. Quote from Sangwoo Park Thanks for the data, Sangwoo! " - Test scenaro - platform: android - target: MSM8952, 2G DDR, 16G eMMC - scenario retry app launch and Back Home with 16 apps and 16 turns (total app launch count is 256) - result: resume count | cold launching count ----------------------------------------------------------------- vanilla | 85 | 171 perproc reclaim | 184 | 72 " Higher resume count is better because cold launching needs loading lots of resource data which takes above 15 ~ 20 seconds for some games while successful resume just takes 1~5 second. As perproc reclaim way with new management policy, we could reduce cold launching a lot(i.e., 171-72) so that it reduces app startup a lot. Another useful function from this feature is to make swapout easily which is useful for testing swapout stress and workloads. Thanks. Cc: Redmond Cc: ZhaoJunmin Zhao(Junmin) Cc: Vinayak Menon Cc: Juneho Choi Cc: Sangwoo Park Cc: Chan Gyun Jeong Minchan Kim (3): mm: vmscan: refactoring force_reclaim mm: vmscan: shrink_page_list with multiple zones mm: per-process reclaim Documentation/filesystems/proc.txt | 15 ++++ fs/proc/base.c | 1 + fs/proc/internal.h | 1 + fs/proc/task_mmu.c | 149 +++++++++++++++++++++++++++++++++++++ include/linux/rmap.h | 4 + mm/vmscan.c | 85 ++++++++++++++++----- 6 files changed, 235 insertions(+), 20 deletions(-) -- 1.9.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org