svn commit: r260719 - in head/sys: kern sys
Gleb Smirnoff
glebius at FreeBSD.org
Thu Jan 16 13:47:36 UTC 2014
On Thu, Jan 16, 2014 at 01:45:42PM +0000, Gleb Smirnoff wrote:
T> Author: glebius
T> Date: Thu Jan 16 13:45:41 2014
T> New Revision: 260719
T> URL: http://svnweb.freebsd.org/changeset/base/260719
T>
T> Log:
T> Simplify wait/nowait code, eventually killing last remnant of
T> historical mbuf(9) allocator flag.
T>
T> Sponsored by: Nginx, Inc.
T>
T> Modified:
T> head/sys/kern/uipc_socket.c
T> head/sys/sys/mbuf.h
The mbuf.h should have been committed separately:
T> Modified: head/sys/sys/mbuf.h
T> ==============================================================================
T> --- head/sys/sys/mbuf.h Thu Jan 16 13:44:47 2014 (r260718)
T> +++ head/sys/sys/mbuf.h Thu Jan 16 13:45:41 2014 (r260719)
T> @@ -466,14 +466,6 @@ struct mbuf {
T> a non-initialized mbuf */
T>
T> /*
T> - * Compatibility with historic mbuf allocator.
T> - */
T> -#define MBTOM(how) (how)
T> -#define M_DONTWAIT M_NOWAIT
T> -#define M_TRYWAIT M_WAITOK
T> -#define M_WAIT M_WAITOK
T> -
T> -/*
T> * String names of mbuf-related UMA(9) and malloc(9) types. Exposed to
T> * !_KERNEL so that monitoring tools can look up the zones with
T> * libmemstat(3).
... with a comment:
Put an end to uncontrollable breeding of historical flags.
--
Totus tuus, Glebius.
More information about the svn-src-head
mailing list