From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752865AbaEVNrm (ORCPT ); Thu, 22 May 2014 09:47:42 -0400 Received: from mx2.parallels.com ([199.115.105.18]:49079 "EHLO mx2.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751830AbaEVNrl (ORCPT ); Thu, 22 May 2014 09:47:41 -0400 Date: Thu, 22 May 2014 17:47:28 +0400 From: Vladimir Davydov To: Christoph Lameter CC: , , , , Subject: Re: [PATCH RFC 3/3] slub: reparent memcg caches' slabs on memcg offline Message-ID: <20140522134726.GA3147@esperanza> References: <20140515071650.GB32113@esperanza> <20140516132234.GF32113@esperanza> <20140519152437.GB25889@esperanza> <537A4D27.1050909@parallels.com> <20140521150408.GB23193@esperanza> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 21, 2014 at 07:13:21PM -0500, Christoph Lameter wrote: > On Wed, 21 May 2014, Vladimir Davydov wrote: > > > Do I understand you correctly that the following change looks OK to you? > > Almost. Preemption needs to be enabled before functions that invoke the > page allocator etc etc. I need to disable preemption only in slab_free, which never blocks according to its semantics, so everything should be fine just like that.