From: Franck Bui-Huu <vagabon.xyz@gmail.com>
To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: ralf@linux-mips.org, linux-mips@linux-mips.org
Subject: Re: [PATCH] Kill __bzero()
Date: Sun, 04 Nov 2007 21:02:56 +0100 [thread overview]
Message-ID: <472E2570.3020403@gmail.com> (raw)
In-Reply-To: <20071105.004208.74752504.anemo@mba.ocn.ne.jp>
Atsushi Nemoto wrote:
> On Sun, 04 Nov 2007 09:18:32 +0100, Franck Bui-Huu <fbuihuu@gmail.com> wrote:
>> 2/ For the caller, it makes no difference to call memset instead
>> since it has to setup the second parameter of __bzero to 0.
>
> __bzero() does not clobber v0 but memset() does. I don't know if gcc
> does some magical thing to protect v0, but it would be safer to add v0
> explicitly to clobber-list of __clear_user().
>
good catch ! I'll do it.
thanks
Franck
next prev parent reply other threads:[~2007-11-04 20:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-04 8:18 [PATCH] Kill __bzero() Franck Bui-Huu
2007-11-04 15:42 ` Atsushi Nemoto
2007-11-04 20:02 ` Franck Bui-Huu [this message]
2007-11-05 11:24 ` Ralf Baechle
2007-11-05 21:51 ` Franck Bui-Huu
2007-11-05 23:18 ` Ralf Baechle
2007-11-06 7:42 ` Franck Bui-Huu
2007-11-06 10:36 ` Ralf Baechle
2007-11-06 16:18 ` Franck Bui-Huu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=472E2570.3020403@gmail.com \
--to=vagabon.xyz@gmail.com \
--cc=anemo@mba.ocn.ne.jp \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.