From owner-freebsd-arch Fri Feb 21 7:10:12 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18D4C37B401 for ; Fri, 21 Feb 2003 07:10:10 -0800 (PST) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54D3243F93 for ; Fri, 21 Feb 2003 07:10:09 -0800 (PST) (envelope-from hiten@angelica.unixdaemons.com) Received: from angelica.unixdaemons.com (hiten@localhost.unixdaemons.com [127.0.0.1]) by angelica.unixdaemons.com (8.12.7/8.12.1) with ESMTP id h1LFA8eG060571 for ; Fri, 21 Feb 2003 10:10:08 -0500 (EST) Received: (from hiten@localhost) by angelica.unixdaemons.com (8.12.7/8.12.1/Submit) id h1LFA7ul060570 for FreeBSD-arch@FreeBSD.ORG; Fri, 21 Feb 2003 10:10:07 -0500 (EST) (envelope-from hiten) Date: Fri, 21 Feb 2003 10:10:07 -0500 From: Hiten Pandya To: FreeBSD-arch@FreeBSD.ORG Subject: Mbuf flags cleanup proposal Message-ID: <20030221151007.GA60348@unixdaemons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Operating-System: FreeBSD i386 X-Public-Key: http://www.pittgoth.com/~hiten/pubkey.asc X-URL: http://www.unixdaemons.com/~hiten X-PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandya&op=index Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 mbchain(9) (sys/mchain) flags: MB_MSYSTEM -> MBC_MSYSTEM MB_MUSER -> MBC_MUSER MB_MINLINE -> MBC_MINLINE MB_MZERO -> MBC_MZERO MB_MCUSTOM -> MBC_MCUSTOM This would also be beneficial for the various mbuf(9) and mbchain(9) routines. The following are the reasons why I think it should be done: - Less confusion. - Less mistakes in future. Any reasonable objections/comments? Cheers. -- Hiten Pandya (hiten@unixdaemons.com, hiten@uk.FreeBSD.org) http://www.unixdaemons.com/~hiten/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message