From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) by kanga.kvack.org (Postfix) with ESMTP id DA9E26B0038 for ; Thu, 8 Oct 2015 02:36:04 -0400 (EDT) Received: by padhy16 with SMTP id hy16so45289260pad.1 for ; Wed, 07 Oct 2015 23:36:04 -0700 (PDT) Received: from xiaomi.com (outboundhk.mxmail.xiaomi.com. [207.226.244.122]) by mx.google.com with ESMTPS id fe1si63916482pab.169.2015.10.07.23.36.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Oct 2015 23:36:04 -0700 (PDT) From: Hui Zhu Subject: [RFC 0/3] zsmalloc: make its pages movable Date: Thu, 8 Oct 2015 14:35:49 +0800 Message-ID: <1444286152-30175-1-git-send-email-zhuhui@xiaomi.com> MIME-Version: 1.0 Content-Type: text/plain Sender: owner-linux-mm@kvack.org List-ID: To: Minchan Kim , Nitin Gupta , Sergey Senozhatsky , Andrew Morton , "Kirill A. Shutemov" , Mel Gorman , Dave Hansen , Johannes Weiner , Michal Hocko , Konstantin Khlebnikov , Andrea Arcangeli , Alexander Duyck , Tejun Heo , Joonsoo Kim , Naoya Horiguchi , Jennifer Herbert , Hugh Dickins , Vladimir Davydov , Vlastimil Babka , David Rientjes , Sasha Levin , "Steven Rostedt (Red Hat)" , "Aneesh Kumar K.V" , Wanpeng Li , Geert Uytterhoeven , Greg Thelen , Al Viro , linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: teawater@gmail.com, Hui Zhu As the discussion in the list, the zsmalloc introduce some problems around pages because its pages are unmovable. These patches introduced page move function to zsmalloc. And they also add interface to struct page. Hui Zhu (3): page: add new flags "PG_movable" and add interfaces to control these pages zsmalloc: mark its page "PG_movable" zram: make create "__GFP_MOVABLE" pool drivers/block/zram/zram_drv.c | 4 include/linux/mm_types.h | 11 + include/linux/page-flags.h | 3 mm/compaction.c | 6 mm/debug.c | 1 mm/migrate.c | 17 + mm/vmscan.c | 2 mm/zsmalloc.c | 409 ++++++++++++++++++++++++++++++++++++++++-- 8 files changed, 428 insertions(+), 25 deletions(-) -- 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