From owner-svn-src-all@FreeBSD.ORG Thu Jan 16 13:47:36 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BF33333E; Thu, 16 Jan 2014 13:47:36 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 464391E51; Thu, 16 Jan 2014 13:47:35 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.7/8.14.7) with ESMTP id s0GDlXWb038838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 16 Jan 2014 17:47:33 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.7/8.14.7/Submit) id s0GDlXmw038837; Thu, 16 Jan 2014 17:47:33 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 16 Jan 2014 17:47:33 +0400 From: Gleb Smirnoff To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r260719 - in head/sys: kern sys Message-ID: <20140116134733.GB32734@FreeBSD.org> References: <201401161345.s0GDjgqM016546@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201401161345.s0GDjgqM016546@svn.freebsd.org> User-Agent: Mutt/1.5.22 (2013-10-16) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jan 2014 13:47:36 -0000 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.