Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751239AbdFCRlB (ORCPT ); Sat, 3 Jun 2017 13:41:01 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:35956 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750991AbdFCRk7 (ORCPT ); Sat, 3 Jun 2017 13:40:59 -0400 Date: Sat, 3 Jun 2017 20:40:55 +0300 From: Vladimir Davydov To: Johannes Weiner Cc: Josef Bacik , Michal Hocko , Andrew Morton , Rik van Riel , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH 4/6] mm: memcontrol: use generic mod_memcg_page_state for kmem pages Message-ID: <20170603174055.GD15130@esperanza> References: <20170530181724.27197-1-hannes@cmpxchg.org> <20170530181724.27197-5-hannes@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170530181724.27197-5-hannes@cmpxchg.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 450 Lines: 11 On Tue, May 30, 2017 at 02:17:22PM -0400, Johannes Weiner wrote: > The kmem-specific functions do the same thing. Switch and drop. > > Signed-off-by: Johannes Weiner > --- > include/linux/memcontrol.h | 17 ----------------- > kernel/fork.c | 8 ++++---- > mm/slab.h | 16 ++++++++-------- > 3 files changed, 12 insertions(+), 29 deletions(-) Acked-by: Vladimir Davydov