From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f174.google.com (mail-pf0-f174.google.com [209.85.192.174]) by kanga.kvack.org (Postfix) with ESMTP id 402676B0005 for ; Wed, 3 Feb 2016 04:25:43 -0500 (EST) Received: by mail-pf0-f174.google.com with SMTP id o185so10910432pfb.1 for ; Wed, 03 Feb 2016 01:25:43 -0800 (PST) Received: from mx2.parallels.com (mx2.parallels.com. [199.115.105.18]) by mx.google.com with ESMTPS id 76si8163961pfm.92.2016.02.03.01.25.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Feb 2016 01:25:42 -0800 (PST) Date: Wed, 3 Feb 2016 12:25:27 +0300 From: Vladimir Davydov Subject: Re: [PATCH 2/3] mm: simplify lock_page_memcg() Message-ID: <20160203092527.GF21016@esperanza> References: <1454109573-29235-1-git-send-email-hannes@cmpxchg.org> <1454109573-29235-3-git-send-email-hannes@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1454109573-29235-3-git-send-email-hannes@cmpxchg.org> Sender: owner-linux-mm@kvack.org List-ID: To: Johannes Weiner Cc: Andrew Morton , Michal Hocko , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com On Fri, Jan 29, 2016 at 06:19:32PM -0500, Johannes Weiner wrote: > Now that migration doesn't clear page->mem_cgroup of live pages > anymore, it's safe to make lock_page_memcg() and the memcg stat > functions take pages, and spare the callers from memcg objects. > > Suggested-by: Vladimir Davydov > Signed-off-by: Johannes Weiner Acked-by: Vladimir Davydov -- 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