Re: [PATCH] rename COMPAT_FREEBSD32

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: John Baldwin
Date: Tuesday, March 23, 2010 - 7:20 am

On Monday 22 March 2010 4:48:19 pm Marcel Moolenaar wrote:

For amd64 I think COMPAT_LINUX32 requires COMPAT_FREEBSD32 in practice for 
this reason.  If you did make them independent, I would prefer that the code 
use things like '#if defined(COMPAT_FREEBSD32) || defined(COMPAT_LINUX32)' 
instead of requiring the user to specify both COMPAT_IA32 and 
COMPAT_(FREEBSD32|LINUX32).

BTW, in that context COMPAT_FREEBSD32 looks far more consistent than other 
alternatives suggested.  I think all of the names have various pros and cons 
and that changing it is more hassle than its worth.  My one suggestion to 
Nathan was to move COMPAT_FREEBSD32 in GENERIC on amd64 so it is not 
immediately next to COMPAT_FREEBSD<n> to reduce confusion.

-- 
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"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: HEADS UP: COMPAT_IA32 renamed COMPAT_FREEBSD32, Ian FREISLICH, (Mon Mar 15, 5:49 am)
Re: HEADS UP: COMPAT_IA32 renamed COMPAT_FREEBSD32, Justin Hibbits, (Mon Mar 15, 5:56 am)
Re: HEADS UP: COMPAT_IA32 renamed COMPAT_FREEBSD32, =?utf-8?B?QW5kcml1cy ..., (Mon Mar 15, 5:59 am)
Re: HEADS UP: COMPAT_IA32 renamed COMPAT_FREEBSD32, Svein Skogen (Listma ..., (Mon Mar 15, 6:16 am)
Re: HEADS UP: COMPAT_IA32 renamed COMPAT_FREEBSD32, Julian Elischer, (Mon Mar 15, 9:00 am)
[PATCH] rename COMPAT_FREEBSD32, David O'Brien, (Mon Mar 22, 10:52 am)
Re: [PATCH] rename COMPAT_FREEBSD32, Marcel Moolenaar, (Mon Mar 22, 1:48 pm)
Re: [PATCH] rename COMPAT_FREEBSD32, John Baldwin, (Tue Mar 23, 7:20 am)