From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753242AbcBCJZp (ORCPT ); Wed, 3 Feb 2016 04:25:45 -0500 Received: from mx2.parallels.com ([199.115.105.18]:43737 "EHLO mx2.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751533AbcBCJZl (ORCPT ); Wed, 3 Feb 2016 04:25:41 -0500 Date: Wed, 3 Feb 2016 12:25:27 +0300 From: Vladimir Davydov To: Johannes Weiner CC: Andrew Morton , Michal Hocko , , , , 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> X-ClientProxiedBy: US-EXCH.sw.swsoft.com (10.255.249.47) To US-EXCH.sw.swsoft.com (10.255.249.47) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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