Subject: Re: a (harmless) typo in cpu_getmcontext()?
To: None <port-sparc64@netbsd.org>
From: Dmitri Nikulin <setagllib@optusnet.com.au>
List: port-sparc64
Date: 11/10/2004 00:25:51
I don't subscribe to this list, nor do I even have a Sparc 64, but I am 
a coder.

What I wanted to ask was, if the old memset was 'broken' (since it set 
everything to '0', not 0) but the system worked anyway, is the memset 
even needed? Clearly it didn't do anything useful anyway (unless the 
next steps require everything to be the same, not necessarily zeroed), 
so why not dd it out entirely? This saves code space, generated code 
space, and a few CPU cycles. Surely this is the NetBSD Way.

Just a musing. Please forgive and correct me if what I said is stupid.