Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2014 18:46:13 -0400
From:      =?iso-8859-1?B?QnJ1bm8gTGF1euk=?= <brunolauze@msn.com>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   RE: vm_map.h
Message-ID:  <BLU179-W590AB6C3D34C4FED71746C6710@phx.gbl>
In-Reply-To: <201403131400.59282.jhb@freebsd.org>
References:  <BLU179-W51BFCABBB6A0019AB97DF9C6760@phx.gbl>, <201403131400.59282.jhb@freebsd.org>

index | next in thread | previous in thread | raw e-mail

I suggesting this because it is used more ahead in the same file, but the other way around is fine for me

----------------------------------------
> From: jhb@freebsd.org
> To: freebsd-current@freebsd.org
> Subject: Re: vm_map.h
> Date: Thu, 13 Mar 2014 14:00:59 -0400
> CC: brunolauze@msn.com; alc@freebsd.org
>
> On Wednesday, March 12, 2014 5:13:28 pm Bruno Lauzé wrote:
>> The two defines in vm/vm_map.h
>>
>> #define min_offset header.start /* (c) */
>> #define max_offset header.end /* (c) */
>>
>>
>> are really getting in the way because those words are most likely to be used
> downstream.
>>
>> I would suggest renaming those defines to:
>>
>> #define vm_min_offset header.start /* (c) */
>> #define vm_max_offset header.end /* (c) */
>>
>> Am I missing something?
>
> A simpler fix is probably to put the #define's under #ifdef _KERNEL.
>
> --
> John Baldwin
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" 		 	   		  

help

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