svn commit: r333324 - in head/sys: amd64/amd64 conf

Rodney W. Grimes freebsd at pdx.rh.CN85.dnsmgr.net
Mon May 7 17:58:04 UTC 2018


[ Charset UTF-8 unsupported, converting... ]
> On Mon, May 7, 2018 at 11:28 AM, Rodney W. Grimes <
> freebsd at pdx.rh.cn85.dnsmgr.net> wrote:
> 
> > [ Charset UTF-8 unsupported, converting... ]
> > > On Mon, May 7, 2018 at 10:26 AM, Conrad Meyer <cem at freebsd.org> wrote:
> > >
> > > > On Mon, May 7, 2018 at 8:45 AM, Rodney W. Grimes
> > > > <freebsd at pdx.rh.cn85.dnsmgr.net> wrote:
> > > > >> + *  ws at tools.de     (Wolfgang Solfrank, TooLs GmbH) +49-228-985800
> > > > >
> > > > > If the original is by ws at tools.de, who is this version by?
> > > > > Or is this simply copied from some other FreeBSD file?
> > > >
> > > > This is covered thoroughly in lines 1-10 of the commit email:
> > > >
> > > > > Author: mjg
> > > > ...
> > > > >   memmove is repurposed bcopy (arguments swapped, return value added)
> > > >
> > >
> > > It's also trivial to see from code comparison... It noticed it right away
> > > while reviewing...
> >
> > I believe both you and Conrad are placing to much weight on the commit
> > message and no weight on the comment.  Someone reading the code is not
> > going to have the context we presently have.
> >
> > Comments in code need to stand alone, without any context of commit
> > message creating them, or code else where, unless they directly
> > reference that code else where.
> >
> 
> The code is 95% Wolfgang's code with the removal of the xchg %edi,%esi at
> the top and saving %edi into %r9 and restoring it to %rax before return. So
> -1 line +3 lines for a ~45 line function that affected only the arg order
> and return code.... The comment is entirely appropriate.

Again, it is the comment that is very incomplete and ambigous,
thankfully it has been corrected.
 

-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the svn-src-all mailing list