Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2003 10:45:59 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Hiten Pandya <hiten@unixdaemons.com>
Cc:        FreeBSD-arch@FreeBSD.ORG
Subject:   Re: Mbuf flags cleanup proposal
Message-ID:  <3E5673E7.F3F1FA4F@mindspring.com>
References:  <20030221151007.GA60348@unixdaemons.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hiten Pandya wrote:
> Gang.  I have a proposal to rename the current mbuf subsystem
> flag bits as follows:
> 
>         mbuf (sys/mbuf.h) flags:
> 
>         M_TRYWAIT       ->      MB_TRYWAIT
>         M_DONTWAIT      ->      MB_DONTWAIT

[ ... ]

> Any reasonable objections/comments?

1)	This seems to move away from integration of UVA and the
	mbuf allocator.

2)	It seems to me that all code should be moving to non-blocking
	interfaces, and blocking interfaces should be deprecated.

3)	"TRYWAIT" is really useless; either I can depend on blocking
	until the request is satisfied, or I can't; if I can't, then
	I might as well not have the extra complication of "wait a
	little bit, and then fail anyway": it doesn't make my code
	any less complicated.

-- Terry



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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