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=1796236354; b=NnbBAdyDMo8b/hZZ0TPgy5Gakt5NKWOc9IHqv0nocbJUREESVljHF8UZvJtzGiByZHeQ 2R2HtGctzhTmaHO5wb2YH7Ik0VKX9bFqu9wos8usgpbY8dtL7vohLaIoY/l0Xwmb6nCS3 EtNJT7+4WBh360Hbi/7AhWPOnmH5N59O99Qr93/sURihbYalSMCH4lPbcxbKsiT30nek6 Dn9eE1DKjPeNE9HDC8eY4rR+x7S6/CJVNz9Zj/CKW6oPubCy114px6gMDL5oX2SBLHI8I z2/EJrjoblmELYck0Pi0Ri9rkl9aaSVIOQZA/IVJJFVHM92efi7/Ltq2ZrKFeLgjkhg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796236354; h=Received:DKIM-Signature:From:To:Cc:Subject:In-Reply-To:References: Date:Message-ID:MIME-Version:Content-Type; bh=ZSw1TvIlsbatjkHNWPAbdIhTadsBqD/Fy4nSUIFVjXU=; b=mHMp099O9abYIG6WKtpwIZ1+tNUtVpnXal8zPSc2yrgqlZdHXYV5J3jm3/Krxwg0YW3O N5isJs91dTTIMvAnbFUMikSVgcdHy5u0ea+pziXxQvri+mQp/KvUBXpapjVrcBn3Qt6uW 8pWuzHnvxYrLWCo6LQOxsPBJqit2NJbBHba1p3QeIPYPnKYo0xGyUrZ3wMk1pMH8GGIx1 LNlwRj0px0oKfdIToIm0N4zYfdu9mONpEXbsTwCpoU4Q5ePFHUatmJmmaoW/mxqRoAsda 28GNff+meIjhNtL/U3OnhwkVkhxT8YMXIfPY+px8hOBB1C6dD056X3gMMWqI1QqFdwQ== 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=jf0LgXx4; 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 B2122606A680; Wed, 2 Dec 2026 18:32:34 +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=jf0LgXx4 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D69741F000C1; Wed, 2 Dec 2026 18:32:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796236353; bh=ZSw1TvIlsbatjkHNWPAbdIhTadsBqD/Fy4nSUIFVjXU=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=jf0LgXx4LKj7rXPTFbYMjpUNwQ6T3yMfxBLdxlmU8lisGh10NRevYwhApE6vBXm5U IMOC/XL/6FLY9pgGzJOrAZAT6hfXDB3ItNlK3wcR6/a56YO4maosL7x/b9AxQsgRIW s022kMCjPJ8HOl3DFCX4B4rJiPosbmRhB5whpHhULArS2RUZbqi6Eaq0IYsjDqo0JH U01f8ChoFJF5SxBWySPW70VhqwrdeRIld344IUCwx7YW/F2gVGasBHbStaVNhaRM5a H5uePcODAgtvmDJOJtE8uhLdDzR6lkx/Z+yjU+lb0/nAFFbc3oozmBPGoZYXjNi0Ci /77OGoOac8MpQ== From: Andreas Hindborg To: Vitaly Wool , Yury Norov Cc: Jens Axboe , Burak Emir , Boqun Feng , Alice Ryhl , Miguel Ojeda , Gary Guo , =?utf-8?Q?Bj=C3=B6rn?= Roy Baron , Benno Lossin , Trevor Gross , Danilo Krummrich , Daniel Almeida , Tamir Duberstein , Alexandre Courbot , Onur =?utf-8?Q?=C3=96zkan?= , linux-block@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Re: [PATCH 0/2] rnull: support 64K pages In-Reply-To: <20261202172416.528430-1-vitaly.wool@konsulko.se> References: <20261202172416.528430-1-vitaly.wool@konsulko.se> Date: Wed, 02 Dec 2026 19:32:23 +0100 Message-ID: <875wxbsfd4.fsf@t14s.mail-host-address-is-not-set> X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain "Vitaly Wool" writes: >> > rnull does not build with 64K pages: NullBlockPage keeps the status of >> > a page's sectors in a single u64, and a static assertion limits pages >> > to 64 sectors, while a 64K page has 128. This also affects other >> > architectures with pages larger than 32K. >> > >> > Patch 1 adds BitmapArray, a kernel::bitmap type that stores up to a >> > compile-time number of words of bits inline, never allocates and >> > dereferences to Bitmap like BitmapVec. Patch 2 uses it for the status, >> > sized for the sectors of a page, so that a backing page still needs no >> > extra allocation. This also resolves the TODO to use the Rust bitmap. >> >> I'm #3 in the To list, but I didn't receive the 2nd patch. How that?.. > > Beats me. Both patches and the cover were sent with one command. ;) I also only got 0/2 and 1/2. Best regards, Andreas Hindborg