Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 16:43:46 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Dag-Erling Sm?rgrav <des@des.no>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Bitstring(9) in kernel.
Message-ID:  <20040315154346.GD8930@darkness.comp.waw.pl>
In-Reply-To: <20040315153919.GC8930@darkness.comp.waw.pl>
References:  <20040315143123.GB8930@darkness.comp.waw.pl> <xzpish6f9hb.fsf@dwp.des.no> <20040315150248.GL35475@elvis.mu.org> <xzp65d6f8ob.fsf@dwp.des.no> <20040315153919.GC8930@darkness.comp.waw.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

--9UV9rz0O2dU/yYYn
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 15, 2004 at 04:39:19PM +0100, Pawel Jakub Dawidek wrote:
+> On Mon, Mar 15, 2004 at 04:10:12PM +0100, Dag-Erling Sm?rgrav wrote:
+> +> That being said, I have no objection to Pawel's patch.
+>=20
+> Just want to double check: Should I go ahead and commit it?
+> Or you want think this over?
+>=20
+> The only user- and kernel-land friendly solution will be to
+> reimplement bit_alloc() as bit_alloc(bits, type, flags).
+> Arguments 'type' and 'flags' will be unused in userland and for
+> userland-only application we can provide bit_ualloc(bits)
+> or something. But this looks a bit hackish.

No, maybe just create bit_malloc(bits, type, flags) and don't
touch bit_alloc() for backwards compatibility.

--=20
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd@FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

--9UV9rz0O2dU/yYYn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAVc8yForvXbEpPzQRArDkAJwLQOMY2yabBoi1HA3XKdkhSEE1QQCcDFri
3rrxmtp7sN5QpoWQ6lETQ0U=
=e55N
-----END PGP SIGNATURE-----

--9UV9rz0O2dU/yYYn--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040315154346.GD8930>