From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-180.mta0.migadu.com (out-180.mta0.migadu.com [91.218.175.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 08F7DD528 for ; Tue, 18 Mar 2025 00:39:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742258386; cv=none; b=SgIZb7CoBe2oe7dpTKlHEG6og9FKOMr2Fjv4h0odjOmkZ4aX+NgPDospItHFmBFB/e5dUr3nTfO6H/tLkVcvYjawBTD1mx6FxGtXSKRXOKuSiTJo5w2XmPSML/xa+TTsDyPOp9bJzJnd10mi6+kiKLSb6KFO1N2vGQhwvEptvgg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742258386; c=relaxed/simple; bh=VDRgrq6SeDneb2tbHxKdELOf0YB2jemcAqQsWOIp2K8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=q1FyPqV038DG4e/najOaSuDI9KTbvei9RTYhnsWpsuriFZphs/kK/DSclRs68yn8Bo1Rwpw0XjIqPEw8w+xsjeyNA+xRxh0/Zsq9fXjxToUUU4+ZH59DqxcJVp7ewbHJzUOrUDrsazelc1NzkpRuWYF5Wjes/ja1N4CRUxeAJis= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=tpDQgZeU; arc=none smtp.client-ip=91.218.175.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="tpDQgZeU" Date: Tue, 18 Mar 2025 00:39:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1742258381; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+qPpSP6otarbWII6cyL7gSIoTwMVNkvwYtLOrfib4Z4=; b=tpDQgZeU8UCZw+cngpLMixmKOWekZnUpdCJ57M2vkEl1OxgpkhbDBJsGvO4ZwtBLYdLziu eBxOZ7oqGyq3Z9VqW/afj915cRf0V2Bex6Zc/G4V05QEObht+53yFfOJ9qbCJRmpMQBJWm 3UkHzqw77Y1T73+5B2fR3mFgV3gBm+4= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Roman Gushchin To: Shakeel Butt Cc: Andrew Morton , Johannes Weiner , Michal Hocko , Muchun Song , Vlastimil Babka , Sebastian Andrzej Siewior , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, Meta kernel team Subject: Re: [PATCH 1/9] memcg: remove root memcg check from refill_stock Message-ID: References: <20250315174930.1769599-1-shakeel.butt@linux.dev> <20250315174930.1769599-2-shakeel.butt@linux.dev> Precedence: bulk X-Mailing-List: cgroups@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250315174930.1769599-2-shakeel.butt@linux.dev> X-Migadu-Flow: FLOW_OUT On Sat, Mar 15, 2025 at 10:49:22AM -0700, Shakeel Butt wrote: > refill_stock can not be called with root memcg, so there is no need to > check it. > > Signed-off-by: Shakeel Butt Reviewed-by: Roman Gushchin