From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by kanga.kvack.org (Postfix) with ESMTP id A39256B026F for ; Mon, 19 Oct 2015 08:35:19 -0400 (EDT) Received: by wikq8 with SMTP id q8so3636339wik.1 for ; Mon, 19 Oct 2015 05:35:19 -0700 (PDT) Received: from gum.cmpxchg.org (gum.cmpxchg.org. [85.214.110.215]) by mx.google.com with ESMTPS id bw2si40833418wjc.127.2015.10.19.05.35.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Oct 2015 05:35:18 -0700 (PDT) Date: Mon, 19 Oct 2015 08:35:08 -0400 From: Johannes Weiner Subject: Re: [PATCH 4/12] mm: rename mem_cgroup_migrate to mem_cgroup_replace_page Message-ID: <20151019123508.GA26353@cmpxchg.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Hugh Dickins Cc: Andrew Morton , Christoph Lameter , Michal Hocko , Greg Thelen , linux-mm@kvack.org On Sun, Oct 18, 2015 at 09:54:26PM -0700, Hugh Dickins wrote: > After v4.3's commit 0610c25daa3e ("memcg: fix dirty page migration") > mem_cgroup_migrate() doesn't have much to offer in page migration: > convert migrate_misplaced_transhuge_page() to set_page_memcg() instead. > > Then rename mem_cgroup_migrate() to mem_cgroup_replace_page(), since its > remaining callers are replace_page_cache_page() and shmem_replace_page(): > both of whom passed lrucare true, so just eliminate that argument. > > Signed-off-by: Hugh Dickins Acked-by: Johannes Weiner -- 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