From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [patch 03/11] mm, mempolicy: remove per-process flag Date: Fri, 07 Mar 2014 09:20:39 -0800 Message-ID: <877g866i3c.fsf@tassilo.jf.intel.com> References: Mime-Version: 1.0 Return-path: In-Reply-To: (David Rientjes's message of "Tue, 4 Mar 2014 19:59:16 -0800 (PST)") Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: David Rientjes Cc: Andrew Morton , Johannes Weiner , Michal Hocko , KAMEZAWA Hiroyuki , Christoph Lameter , Pekka Enberg , Tejun Heo , Mel Gorman , Oleg Nesterov , Rik van Riel , Jianguo Wu , Tim Hockin , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org David Rientjes writes: > > Per-process flags are a scarce resource so we should free them up > whenever possible and make them available. We'll be using it shortly for > memcg oom reserves. I'm not convinced TCP_RR is a meaningfull benchmark for slab. The shortness seems like an artificial problem. Just add another flag word to the task_struct? That would seem to be the obvious way. People will need it sooner or later anyways. -Andi -- ak-VuQAYsv1563Yd54FQh9/CA@public.gmane.org -- Speaking for myself only From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by kanga.kvack.org (Postfix) with ESMTP id 28D576B0031 for ; Fri, 7 Mar 2014 12:21:05 -0500 (EST) Received: by mail-pd0-f174.google.com with SMTP id y13so4247833pdi.5 for ; Fri, 07 Mar 2014 09:21:04 -0800 (PST) Received: from mga14.intel.com (mga14.intel.com. [143.182.124.37]) by mx.google.com with ESMTP id tu7si8932707pac.193.2014.03.07.09.21.03 for ; Fri, 07 Mar 2014 09:21:04 -0800 (PST) From: Andi Kleen Subject: Re: [patch 03/11] mm, mempolicy: remove per-process flag References: Date: Fri, 07 Mar 2014 09:20:39 -0800 In-Reply-To: (David Rientjes's message of "Tue, 4 Mar 2014 19:59:16 -0800 (PST)") Message-ID: <877g866i3c.fsf@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: owner-linux-mm@kvack.org List-ID: To: David Rientjes Cc: Andrew Morton , Johannes Weiner , Michal Hocko , KAMEZAWA Hiroyuki , Christoph Lameter , Pekka Enberg , Tejun Heo , Mel Gorman , Oleg Nesterov , Rik van Riel , Jianguo Wu , Tim Hockin , linux-kernel@vger.kernel.org, linux-mm@kvack.org, cgroups@vger.kernel.org, linux-doc@vger.kernel.org David Rientjes writes: > > Per-process flags are a scarce resource so we should free them up > whenever possible and make them available. We'll be using it shortly for > memcg oom reserves. I'm not convinced TCP_RR is a meaningfull benchmark for slab. The shortness seems like an artificial problem. Just add another flag word to the task_struct? That would seem to be the obvious way. People will need it sooner or later anyways. -Andi -- ak@linux.intel.com -- Speaking for myself only -- 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 S1753778AbaCGRVI (ORCPT ); Fri, 7 Mar 2014 12:21:08 -0500 Received: from mga09.intel.com ([134.134.136.24]:54880 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751647AbaCGRVE (ORCPT ); Fri, 7 Mar 2014 12:21:04 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,608,1389772800"; d="scan'208";a="488039444" From: Andi Kleen To: David Rientjes Cc: Andrew Morton , Johannes Weiner , Michal Hocko , KAMEZAWA Hiroyuki , Christoph Lameter , Pekka Enberg , Tejun Heo , Mel Gorman , Oleg Nesterov , Rik van Riel , Jianguo Wu , Tim Hockin , linux-kernel@vger.kernel.org, linux-mm@kvack.org, cgroups@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [patch 03/11] mm, mempolicy: remove per-process flag References: Date: Fri, 07 Mar 2014 09:20:39 -0800 In-Reply-To: (David Rientjes's message of "Tue, 4 Mar 2014 19:59:16 -0800 (PST)") Message-ID: <877g866i3c.fsf@tassilo.jf.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org David Rientjes writes: > > Per-process flags are a scarce resource so we should free them up > whenever possible and make them available. We'll be using it shortly for > memcg oom reserves. I'm not convinced TCP_RR is a meaningfull benchmark for slab. The shortness seems like an artificial problem. Just add another flag word to the task_struct? That would seem to be the obvious way. People will need it sooner or later anyways. -Andi -- ak@linux.intel.com -- Speaking for myself only