From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F1D12C3064D for ; Fri, 28 Jun 2024 13:49:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8C22010E2C9; Fri, 28 Jun 2024 13:49:42 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=linux.dev header.i=@linux.dev header.b="fLKsoOZf"; dkim-atps=neutral X-Greylist: delayed 439 seconds by postgrey-1.36 at gabe; Thu, 27 Jun 2024 17:40:33 UTC Received: from out-181.mta1.migadu.com (out-181.mta1.migadu.com [95.215.58.181]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1367810EB05 for ; Thu, 27 Jun 2024 17:40:32 +0000 (UTC) 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> 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 X-Mailman-Approved-At: Fri, 28 Jun 2024 13:49:41 +0000 X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" 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!