From owner-freebsd-current@FreeBSD.ORG Thu Mar 13 22:47:20 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A4EDCE1E for ; Thu, 13 Mar 2014 22:47:20 +0000 (UTC) Received: from blu0-omc2-s8.blu0.hotmail.com (blu0-omc2-s8.blu0.hotmail.com [65.55.111.83]) by mx1.freebsd.org (Postfix) with ESMTP id 724489FC for ; Thu, 13 Mar 2014 22:47:20 +0000 (UTC) Received: from BLU179-W5 ([65.55.111.71]) by blu0-omc2-s8.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 13 Mar 2014 15:46:14 -0700 X-TMN: [JNI2q/KkCvZritC63LiZw3VhpTvs2pCO] X-Originating-Email: [brunolauze@msn.com] Message-ID: From: =?iso-8859-1?B?QnJ1bm8gTGF1euk=?= To: "freebsd-current@freebsd.org" Subject: RE: vm_map.h Date: Thu, 13 Mar 2014 18:46:13 -0400 Importance: Normal In-Reply-To: <201403131400.59282.jhb@freebsd.org> References: , <201403131400.59282.jhb@freebsd.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 13 Mar 2014 22:46:14.0321 (UTC) FILETIME=[09C7BA10:01CF3F0E] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Mar 2014 22:47:20 -0000 I suggesting this because it is used more ahead in the same file=2C but the= other way around is fine for me=0A= =0A= ----------------------------------------=0A= > From: jhb@freebsd.org=0A= > To: freebsd-current@freebsd.org=0A= > Subject: Re: vm_map.h=0A= > Date: Thu=2C 13 Mar 2014 14:00:59 -0400=0A= > CC: brunolauze@msn.com=3B alc@freebsd.org=0A= >=0A= > On Wednesday=2C March 12=2C 2014 5:13:28 pm Bruno Lauz=E9 wrote:=0A= >> The two defines in vm/vm_map.h=0A= >>=0A= >> #define min_offset header.start /* (c) */=0A= >> #define max_offset header.end /* (c) */=0A= >>=0A= >>=0A= >> are really getting in the way because those words are most likely to be = used=0A= > downstream.=0A= >>=0A= >> I would suggest renaming those defines to:=0A= >>=0A= >> #define vm_min_offset header.start /* (c) */=0A= >> #define vm_max_offset header.end /* (c) */=0A= >>=0A= >> Am I missing something?=0A= >=0A= > A simpler fix is probably to put the #define's under #ifdef _KERNEL.=0A= >=0A= > --=0A= > John Baldwin=0A= > _______________________________________________=0A= > freebsd-current@freebsd.org mailing list=0A= > http://lists.freebsd.org/mailman/listinfo/freebsd-current=0A= > To unsubscribe=2C send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" =