Date: Sun, 05 Dec 1999 11:24:20 +0100 From: Marcel Moolenaar <marcel@scc.nl> To: Martin Cracauer <cracauer@cons.org> Cc: Bruce Evans <bde@zeta.org.au>, freebsd-arch@freebsd.org Subject: Re: cvs commit: src/sys/i386/include signal.h Message-ID: <384A3D54.3DFE76D6@scc.nl> References: <382E8A1B.B7D9B7F0@scc.nl> <Pine.BSF.4.10.9911142303390.21828-100000@alphplex.bde.org> <19991115095729.A27507@cons.org> <382FDBE2.D075594@scc.nl> <19991115115552.A27870@cons.org> <382FF2AF.545C8C81@scc.nl> <19991204234145.A1221@cons.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Martin Cracauer wrote: > Also mcontext_t is proposed to be bumped to 512 bytes for possible > future extensions (because changing the size once 4.0 is out is > *bad*). mcontext_t is embedded in ucontext_t. If you want a nice round figure, I still think we should round ucontext_t and scale mcontext_t accordingly. Remember that ucontext_t and not mcontext_t is used in interfaces. mcontext_t is "just" a field of ucontext_t... > Decisions in order of importance: > - Do you accept bumping mcontext_t to 512 bytes? No, I'll accept ucontext_t to be bumped to a nice round number (say 512 bytes) and have the extra space used by mcontext_t :-) > - Do you like the bitmap scheme? Yes. It's quite common. > - If you would prefer the pointer scheme, you probably have some > processor-specific things that may end up in mcontext. Tell us! I think the pointer scheme is a bit too complex. About the patch: in struct context: ! int sc_fpemul[16]; ! int __morespare__[63]; in mcontext_t: ! int mc_fpemul[16]; /* Additional FPU emulator status */ ! int __morespare__[63]; /* For later additions, total = 512 */ There's no need to rub it in :-) I prefer `__spare__' to make it clear that it's not a regular field. I think Bruce would like you to use `sc_spare'... -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?384A3D54.3DFE76D6>