From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752342AbbJHHCd (ORCPT ); Thu, 8 Oct 2015 03:02:33 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:35727 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750753AbbJHHCc (ORCPT ); Thu, 8 Oct 2015 03:02:32 -0400 Date: Thu, 8 Oct 2015 16:03:20 +0900 From: Sergey Senozhatsky To: Hui Zhu Cc: 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, teawater@gmail.com, Sergey Senozhatsky Subject: Re: [RFC 0/3] zsmalloc: make its pages movable Message-ID: <20151008070320.GA447@swordfish> References: <1444286152-30175-1-git-send-email-zhuhui@xiaomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1444286152-30175-1-git-send-email-zhuhui@xiaomi.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (10/08/15 14:35), Hui Zhu wrote: > > 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. > Hi, have you seen http://lkml.iu.edu/hypermail/linux/kernel/1507.0/03233.html http://lkml.iu.edu/hypermail/linux/kernel/1508.1/00696.html ? -ss > 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(-) >