From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9F5E82FD665 for ; Thu, 25 Jun 2026 09:19:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782379166; cv=none; b=h7Rby4++ppShfQ4zi0Igz9ZIR9AWVxj79TYnAgYWbR7f8/wNOcc2DupsW2auFM8Bgzpe4EFshyBYgYhvPyp07Z8l5HAxAzMHt1DVpEY4vHtWRZIn92PeXF8UJdrsEZkIRXhCqAIIuGbeCeOZNOuMW54L6tFMWjwdIhEo8p0ZMU4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782379166; c=relaxed/simple; bh=ECEn+V2NhWD3Cl+wFoaowjzh5mZpSqtDy2oOQW/aJbc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lJy+bX2BX7NwfAyjXh6wGrzF51GLkxwJJ43eM6mC/jT1i0TvLSqCx5q+BHr8nL8c+1dyyXYwHAFBHaxFIpznlHsbU9JSuN7zftN/WJARaqwCb0VM7693WcimW82oX+xN4wB1feX/ZvEcgjEKYhtLg90qSC87qccUxc9ZuU3EQlM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=BIL4Rip+; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="BIL4Rip+" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-49263703c6eso10945645e9.0 for ; Thu, 25 Jun 2026 02:19:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1782379163; x=1782983963; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ECEn+V2NhWD3Cl+wFoaowjzh5mZpSqtDy2oOQW/aJbc=; b=BIL4Rip+vokMneBEDiPNxbSED0D7TbDycXaI1wXebLwhUsble6kqzOjoDCCt8seqoC AjatLjimIBmHCd7J3rJoeJHhfY7LUVj9dTViIZqwhRv4aKfkGff9WOYkkClUI1Fs4LPD 9xYjGt6vtiS9HnBLuC1TqaaJCl3aM+M38tsJUhfKuAK3NL6pRLN2GQxZttqWp5N6A67O lWb7cCTgN+1EUaOzD9ZeP0a3s78KeN23dtebAHlaTFmKgU27ExMviuxIA4roIHa5XiTw JwjzZM7XDXKlohwUqwXDabkTzR6q+MdrhRmwrZccXDfc0ztRVRWzrsWY8cjVS4pNbH0f kLMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782379163; x=1782983963; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ECEn+V2NhWD3Cl+wFoaowjzh5mZpSqtDy2oOQW/aJbc=; b=OGnsDk3Ek/sYHd6azh230eC2Z8edjOF02WDmKHfDp85rBroXy+q0s7sdAQWAYkSxZQ OuzEmo7Bedev/qFJRhfHv3YJzShZDebRjZcR1xX2Hn71g+F1adKKNMHzH212nLhV+WqF 3hxCXm3pKlW9+ZAM643HlyYglxQm6se/zsBldfsAdWMr2JjYxHKydqU/EDQ7fySQKjV+ eIx23u8rd8cfS6nOtJVJXLGAH+6/CnzWNh4MUaX/j3UuX9cFX1MJCmo0b3iNIO8OyWfO IW2cEV6dKXDov2w2skGiEAXOBPj17dCQZJ9j+RWUf8feYjeTsIApukkUdnfjNSWz2wJB L8dg== X-Forwarded-Encrypted: i=1; AFNElJ+9enV7oNJdCJ9/SFp/qy9gFyNoDvQHDlJ4TqvWQeotjt8ubQwUZoXUP+M+j5GMf8/2ev+uPq+C@vger.kernel.org X-Gm-Message-State: AOJu0Yz/o9SsY7GWgwWc28P75rmWw4lcYby65Gph2X/w7lkyt/E6nNRL kk0rtiqhkOuRisGgNHHjR4epqmOPIdCgQ6g0epyMxI3qExvsVJEOk0vtAn5d46Eittk= X-Gm-Gg: AfdE7ckjCRF+yuou1btPog2R1nWKsJFweT9PsWJM1TbbMm5kHRqq5ouOcMCQUnPEgQ5 07eqYxUROzqqTkM7YvJH3az4C3lyKAMf6bct0Dl6zierK+EpICRoCdLM+TE/QyW2s2f79iw/ilj aVvvIV0Ki8QSoiLLjtEuRhWQMlkfYP307RrxvvD4QQE1xqn34bRO5Js5BkEHbAddqhJzxyYuwi3 jRCXXOHXaoB+oNDPLVCExhovj4MlY5Lb7qXoRCK9Q/kdJXIYaw0KvqcRl7aRqqlInIU8UNmV2d5 RNZw1ywNAPQkXkrQf9/5BjzycnFdNdCbJcfimzhvwnLOCZehMrUhQZpwbKwYX4MmafPz8DsxPY+ aFjGSTs6lK2mTaf8HYwq/t+8mDl4SObF5AKiqvPg3FAayWqtOJQSr3Z/sgnzOM3Qbwr+9Nc6hdI RnOaIrMCk7ivo0cFoffg== X-Received: by 2002:a05:600d:8443:10b0:490:d32b:39c3 with SMTP id 5b1f17b1804b1-4926685feb6mr16924745e9.6.1782379163017; Thu, 25 Jun 2026 02:19:23 -0700 (PDT) Received: from localhost.localdomain ([62.77.90.70]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49264082426sm60418065e9.9.2026.06.25.02.19.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2026 02:19:22 -0700 (PDT) Date: Thu, 25 Jun 2026 11:19:19 +0200 From: Michal =?utf-8?Q?Koutn=C3=BD?= To: Thadeu Lima de Souza Cascardo Cc: Tejun Heo , Thomas =?utf-8?Q?Hellstr=C3=B6m?= , intel-xe@lists.freedesktop.org, Natalie Vock , Johannes Weiner , cgroups@vger.kernel.org, Huang Rui , Matthew Brost , Matthew Auld , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Simona Vetter , David Airlie , Christian =?utf-8?B?S8O2bmln?= , Alex Deucher , Rodrigo Vivi , dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 0/6] [PATCH v6 0/6] Add reclaim to the dmem cgroup controller Message-ID: References: <20260611173301.17473-1-thomas.hellstrom@linux.intel.com> Precedence: bulk X-Mailing-List: cgroups@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lrl2vho5y5eomexp" Content-Disposition: inline In-Reply-To: --lrl2vho5y5eomexp Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v6 0/6] [PATCH v6 0/6] Add reclaim to the dmem cgroup controller MIME-Version: 1.0 On Mon, Jun 22, 2026 at 12:26:54PM -0300, Thadeu Lima de Souza Cascardo wrote: > As far as I understood the patchset, it doesn't fail the write if it fails > to reclaim. It sets the new max, then, if the write is blocking, starts > reclaim and eventually returns after multiple attempts. But it still > returns success. >=20 > So I believe this is behaving as you would expect. I was alarmed by the EBUSY mention similarly to Tejun but then I couldn't find it in pre-patch (840ef6c78e6a2) nor in patched (v5) code. Please make sure the EBUSY return behavior is not introduced (essentially match memory.max behavior) and that the accompanying message refers up to date code ;-) Michal --lrl2vho5y5eomexp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iJEEABYKADkWIQRCE24Fn/AcRjnLivR+PQLnlNv4CAUCajzykhsUgAAAAAAEAA5t YW51MiwyLjUrMS4xMiwyLDIACgkQfj0C55Tb+AihGwEA1SCEBfnAwyeubLR7IllY 8xY1mJBt88wz9mCIeM9+iY8A/0e+2PnPs29VJ7kdk24/ZbM72Eltcu2Pv4++6deM lMAL =i/jW -----END PGP SIGNATURE----- --lrl2vho5y5eomexp--