From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f70.google.com (mail-it0-f70.google.com [209.85.214.70]) by kanga.kvack.org (Postfix) with ESMTP id AFE796B0005 for ; Thu, 22 Feb 2018 22:19:58 -0500 (EST) Received: by mail-it0-f70.google.com with SMTP id g5so1145418itf.1 for ; Thu, 22 Feb 2018 19:19:58 -0800 (PST) Received: from resqmta-ch2-11v.sys.comcast.net (resqmta-ch2-11v.sys.comcast.net. [2001:558:fe21:29:69:252:207:43]) by mx.google.com with ESMTPS id t42si1037975ioi.99.2018.02.22.19.19.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Feb 2018 19:19:57 -0800 (PST) Date: Thu, 22 Feb 2018 21:19:55 -0600 (CST) From: Christopher Lameter Subject: Re: [PATCH v2 0/3] Directed kmem charging In-Reply-To: <20180221125426.464f894d29a0b6e525b2e3be@linux-foundation.org> Message-ID: References: <20180221030101.221206-1-shakeelb@google.com> <20180221125426.464f894d29a0b6e525b2e3be@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: Shakeel Butt , Jan Kara , Amir Goldstein , Pekka Enberg , David Rientjes , Joonsoo Kim , Greg Thelen , Johannes Weiner , Michal Hocko , Vladimir Davydov , Mel Gorman , Vlastimil Babka , linux-fsdevel , Linux MM , Cgroups , LKML On Wed, 21 Feb 2018, Andrew Morton wrote: > What do others think? I think the changes to the hotpaths of the slab allocators increasing register pressure in some of the hotttest paths of the kernel are problematic. Its better to do the allocation properly in the task context to which it is finally charged. There may be other restrictions that emerge from other fields in the task_struct that also may influence allocation and reclaim behavior. It is cleanest to do this in the proper task context instead of taking a piece (like the cgroup) out of context. -- 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