RE: vm_map.h

From: Bruno Lauzé <brunolauze_at_msn.com>
Date: Thu, 13 Mar 2014 18:46:13 -0400
I suggesting this because it is used more ahead in the same file, but the other way around is fine for me

----------------------------------------
> From: jhb_at_freebsd.org
> To: freebsd-current_at_freebsd.org
> Subject: Re: vm_map.h
> Date: Thu, 13 Mar 2014 14:00:59 -0400
> CC: brunolauze_at_msn.com; alc_at_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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" 		 	   		  
Received on Thu Mar 13 2014 - 21:47:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:47 UTC