trap.c: Why do we save tf_edx in sysmsg_fds[1]?

David P. Reese, Jr. daver at gomerbud.com
Mon Nov 10 02:16:36 PST 2003


On Mon, Nov 10, 2003 at 02:09:44AM -0800, Matthew Dillon wrote:
>     Now, practically speaking matter edx is not a saved-used register so it
>     shouldn't matter if it gets munged on return, so theoretically we can
>     get rid of the edx assigned.  But that could break some obscure
>     bit of compatibility so I'd rather leave things as is.

I thought it would be really cool to pull the zero %edx on exec cruft
into trap.c.  I guess one hack that we know works is better than
a different hack that causes gross uncertainty.

-- 
   David P. Reese, Jr.                                     daver at xxxxxxxxxxxx
                                               http://www.gomerbud.com/daver/





More information about the Kernel mailing list