From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Davydov Subject: Re: [patch 7/9] mm: memcontrol: do not acquire page_cgroup lock for kmem pages Date: Fri, 23 May 2014 18:29:31 +0400 Message-ID: <20140523142929.GC3147@esperanza> References: <1398889543-23671-1-git-send-email-hannes@cmpxchg.org> <1398889543-23671-8-git-send-email-hannes@cmpxchg.org> <20140523133938.GC22135@dhcp22.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: <20140523133938.GC22135-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Transfer-Encoding: 7bit To: Johannes Weiner Cc: Michal Hocko , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Hugh Dickins , Tejun Heo , cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On Fri, May 23, 2014 at 03:39:38PM +0200, Michal Hocko wrote: > I am adding Vladimir to CC > > On Wed 30-04-14 16:25:41, Johannes Weiner wrote: > > Kmem page charging and uncharging is serialized by means of exclusive > > access to the page. Do not take the page_cgroup lock and don't set > > pc->flags atomically. > > > > Signed-off-by: Johannes Weiner Acked-by: Vladimir Davydov From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-f45.google.com (mail-la0-f45.google.com [209.85.215.45]) by kanga.kvack.org (Postfix) with ESMTP id 2297D6B0036 for ; Fri, 23 May 2014 10:29:54 -0400 (EDT) Received: by mail-la0-f45.google.com with SMTP id gl10so4363780lab.18 for ; Fri, 23 May 2014 07:29:53 -0700 (PDT) Received: from mx2.parallels.com (mx2.parallels.com. [199.115.105.18]) by mx.google.com with ESMTPS id dr3si6128745lbc.33.2014.05.23.07.29.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 May 2014 07:29:52 -0700 (PDT) Date: Fri, 23 May 2014 18:29:31 +0400 From: Vladimir Davydov Subject: Re: [patch 7/9] mm: memcontrol: do not acquire page_cgroup lock for kmem pages Message-ID: <20140523142929.GC3147@esperanza> References: <1398889543-23671-1-git-send-email-hannes@cmpxchg.org> <1398889543-23671-8-git-send-email-hannes@cmpxchg.org> <20140523133938.GC22135@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20140523133938.GC22135@dhcp22.suse.cz> Sender: owner-linux-mm@kvack.org List-ID: To: Johannes Weiner Cc: Michal Hocko , linux-mm@kvack.org, Hugh Dickins , Tejun Heo , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org On Fri, May 23, 2014 at 03:39:38PM +0200, Michal Hocko wrote: > I am adding Vladimir to CC > > On Wed 30-04-14 16:25:41, Johannes Weiner wrote: > > Kmem page charging and uncharging is serialized by means of exclusive > > access to the page. Do not take the page_cgroup lock and don't set > > pc->flags atomically. > > > > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752717AbaEWO3k (ORCPT ); Fri, 23 May 2014 10:29:40 -0400 Received: from mx2.parallels.com ([199.115.105.18]:58760 "EHLO mx2.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752256AbaEWO3j (ORCPT ); Fri, 23 May 2014 10:29:39 -0400 Date: Fri, 23 May 2014 18:29:31 +0400 From: Vladimir Davydov To: Johannes Weiner CC: Michal Hocko , , Hugh Dickins , Tejun Heo , , Subject: Re: [patch 7/9] mm: memcontrol: do not acquire page_cgroup lock for kmem pages Message-ID: <20140523142929.GC3147@esperanza> References: <1398889543-23671-1-git-send-email-hannes@cmpxchg.org> <1398889543-23671-8-git-send-email-hannes@cmpxchg.org> <20140523133938.GC22135@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20140523133938.GC22135@dhcp22.suse.cz> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 23, 2014 at 03:39:38PM +0200, Michal Hocko wrote: > I am adding Vladimir to CC > > On Wed 30-04-14 16:25:41, Johannes Weiner wrote: > > Kmem page charging and uncharging is serialized by means of exclusive > > access to the page. Do not take the page_cgroup lock and don't set > > pc->flags atomically. > > > > Signed-off-by: Johannes Weiner Acked-by: Vladimir Davydov