From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-177.mta1.migadu.com (out-177.mta1.migadu.com [95.215.58.177]) (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 58DC519D8A9 for ; Thu, 27 Jun 2024 17:33:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719509596; cv=none; b=phn08zkFes+K2ni/ozmBSLWGo1WAU9XQV+CmTAnl2wgp4LCTgYc9xA6mWC34hznzk/AmjehRmUqS/Kq1YuRQwSqs6PMJ5u+uBIOrQ9bwcHRKA9J4kdxwf4gFfM5Clmee5q1IMinegPbJ6xUnbxu4O/cxt2irAXkq2jgdbOCiXuA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719509596; c=relaxed/simple; bh=ilNgfoUNhiqDFM7H9poy1i0P6oEaujTeCAqucYSt1cU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Sw6K4ZXWsSYhp2EWjYtISDWwcAZ2ibN00eOi8ivEjTvQyN9emSRwgw934GQl2om+0j7IRo10l2T84xaviszsm7cJNa1wco3i3XFVVGQ4aAyqsqD7yv1TvRz/EOFtsy6NvE95N/SaPQKfDCG7HyGhryiXbtN1PZlPVAjVN9MQs6o= 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=fLKsoOZf; arc=none smtp.client-ip=95.215.58.177 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="fLKsoOZf" X-Envelope-To: maarten.lankhorst@linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1719509591; 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=Xr0TR/1FJaHH3ED2Gg8EsjtN43r2N2jhIFfaVjK+ReM=; b=fLKsoOZfoseTaxxUSUzJuxD+k9IEgMWnvbjjxqtg/OrcnHyqUX9qp1tbvuE8zcJlwqiwQb 84rRJrF4qI1qsDXzbtV+ThZCYs8lI+Ylmi1meFS5UblE2HzVtFJajNDNU+DdfCJqO9mafK np2J+8e1AKLwM0WPMmrijVaBEje7zWo= X-Envelope-To: intel-xe@lists.freedesktop.org X-Envelope-To: linux-kernel@vger.kernel.org X-Envelope-To: dri-devel@lists.freedesktop.org X-Envelope-To: tj@kernel.org X-Envelope-To: lizefan.x@bytedance.com X-Envelope-To: hannes@cmpxchg.org X-Envelope-To: akpm@linux-foundation.org X-Envelope-To: mhocko@kernel.org X-Envelope-To: shakeel.butt@linux.dev X-Envelope-To: muchun.song@linux.dev X-Envelope-To: friedrich.vock@gmx.de X-Envelope-To: cgroups@vger.kernel.org X-Envelope-To: linux-mm@kvack.org Date: Thu, 27 Jun 2024 17:33:05 +0000 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Roman Gushchin To: Maarten Lankhorst Cc: intel-xe@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Tejun Heo , Zefan Li , Johannes Weiner , Andrew Morton , Michal Hocko , Shakeel Butt , Muchun Song , Friedrich Vock , cgroups@vger.kernel.org, linux-mm@kvack.org Subject: Re: [RFC PATCH 1/6] mm/page_counter: Move calculating protection values to page_counter Message-ID: References: <20240627154754.74828-1-maarten.lankhorst@linux.intel.com> <20240627154754.74828-2-maarten.lankhorst@linux.intel.com> 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: <20240627154754.74828-2-maarten.lankhorst@linux.intel.com> X-Migadu-Flow: FLOW_OUT On Thu, Jun 27, 2024 at 05:47:20PM +0200, Maarten Lankhorst wrote: > It's a lot of math, and there is nothing memcontrol specific about it. > This makes it easier to use inside of the drm cgroup controller. > > Signed-off-by: Maarten Lankhorst LGTM and I believe it's a good thing to do even without taking the rest of the series into account. Acked-by: Roman Gushchin Thanks!