From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796406315; b=nknrv0Q+/2rQxj9PwonPIbLbc8JP4tEHh8F2CsD9b4XSqZh7r2P1mRXcZHVQcWKvW21P O9mQ2Vv0iuBYoJZMMz1iuA0H5NDskTD2l1MlENPA3KJwxhnix3+dH5lU7W3idtBwfC7oZ 95VmapHgwcs1bEUcGbfP8U/hdCiz6lz9ftRa8iLOoRpmZ61DJsj4DGpq/luQ2rKQHcfxY byR6krzp/8NV0WWqQ5DHWENUkCHOwWIP7EnLD0hwSVPHvRstIy9HP/MZtcXUcy07EDCZv ou38QCAG9hFTevQBb+Na/Ll0rccm2bbrfaN8RAXqEpQFwubNJ+uNvMa0fegmEYactrA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796406315; h=Received:DKIM-Signature:Content-Type:Date:Message-Id:Subject:Cc:To: From:Mime-Version:Content-Transfer-Encoding:References:In-Reply-To; bh=gE+eiW7miPUaE/VN672cVOznyDXp1y0HkR4/quM21yg=; b=KZoXrOFMYn/jSPwrBAFYEhM/lK93xyb336Buzdkj6kDtKttrOWgEji/HBypfzYHGI/6z qo/SqWTZBnSQCo5I70HCO5XS5TsqlMWZiR8y40MxcriN3RZvnYdcn0kOyQq0VblF0Gj0B bjAIJSo+Y1D6LNCLXGi9ym9EXkyHTqxXiG1eVQ3LcorL42h8stnz0DI4eb8oKRsOU1hcJ ByjmeHWs/sH2skWy3dhJ1zZnj0+CKhu1c7xNeSV0sqa66DHW7LjLktIHAtcQGzDHBBMmJ muLjFSAgu7ar4lE9I0FEpMBwym7GrWbB7yQlI8xGnn4JPffBVB2ThYO7kKwwZXVYbRw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=NzRGpsVV; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CA649606A330; Fri, 4 Dec 2026 17:45:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=NzRGpsVV Received: by smtp.kernel.org (Postfix) with ESMTPSA id B47231F0093B; Fri, 4 Dec 2026 17:45:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796406315; bh=gE+eiW7miPUaE/VN672cVOznyDXp1y0HkR4/quM21yg=; h=Date:Subject:Cc:To:From:References:In-Reply-To; b=NzRGpsVV1w9Oj1myHOh+xxQzLD99nWTKo1myoHh2DPUFRWpjX5Zg6Tqy1hR446pHt BvmofMSDkpmuu24yrAq6NCtIWeMLdeXvd2l2+E4DdQvCg9FqvaHB7zNgql07Mgvxrw JjLurBuAwOMZEew4699pNS2uC50Fh3ScnNpuQcwx7YWrZFudJDQKXVXppWBM7cNvwT 7zjllqlpxcQ5/dyXNcGODGyU9E8LPLwFADMGyV748GAHGTyYhUOgHLp4q6FdxuLHUe hoYItl3YJ92kM6MXpv5hOOmZwd+xcvIaG40K9z70froYKc5s/S2n8Et86C0TEOtkZf YVdxczwt27vcg== Content-Type: text/plain; charset=UTF-8 Date: Fri, 04 Dec 2026 18:45:11 +0100 Message-Id: Subject: Re: [PATCH] rust: gpu: buddy: tie allocations to the allocator lifetime Cc: , , To: , , , , , , , , , , From: "Danilo Krummrich" X-Mailing-List: nova-gpu@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable References: <20261126221108.3768637-1-dakr@kernel.org> In-Reply-To: <20261126221108.3768637-1-dakr@kernel.org> On Thu Nov 26, 2026 at 11:11 PM CET, Danilo Krummrich wrote: > Let the allocator's lifetime constrain the lifetime of its allocations, > rather than having allocations keep the allocator alive through > reference counting. While this is accurate (and I hate to have it backwards), after doing some investigation, there can be a real implementation cost of adding this lifet= ime. Given that this is self-contained though, I think it is better to keep it a= s-is; the practical benefits are minor.