Bitstring(9) in kernel.

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Mar 15 07:43:47 PST 2004


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.
+> 
+> Just want to double check: Should I go ahead and commit it?
+> Or you want think this over?
+> 
+> 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.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20040315/2c1cefcb/attachment.bin


More information about the freebsd-arch mailing list