mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Richard Henderson <rth@twiddle.net>,
	Andrew Morton <akpm@osdl.org>,
	Marcelo Tosatti <marcelo.tosatti@cyclades.com>,
	Linus Torvalds <torvalds@osdl.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [ALPHA] Fix unaligned stxncpy again
Date: Sat, 10 Apr 2004 21:46:33 +0400	[thread overview]
Message-ID: <20040410214633.A24987@jurassic.park.msu.ru> (raw)
In-Reply-To: <20040409235040.GA14950@gondor.apana.org.au>; from herbert@gondor.apana.org.au on Sat, Apr 10, 2004 at 09:50:40AM +1000

On Sat, Apr 10, 2004 at 09:50:40AM +1000, Herbert Xu wrote:
> Thanks.  But is there any reason why we need to have code that
> is different from glibc?

The code is different anyway because the glibc routine clobbers
t7 register which must not be touched in the kernel.
Apparently the whole mess started with a typo in the register
renaming patch...
Yes, ideally glibc and kernel stxncpy code can be exactly the same,
but this assumes that the glibc variant is updated to not use the t7.

Ivan.

      reply	other threads:[~2004-04-10 17:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-09 10:32 Herbert Xu
2004-04-09 19:35 ` Ivan Kokshaysky
2004-04-09 23:50   ` Herbert Xu
2004-04-10 17:46     ` Ivan Kokshaysky [this message]

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=20040410214633.A24987@jurassic.park.msu.ru \
    --to=ink@jurassic.park.msu.ru \
    --cc=akpm@osdl.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    --cc=rth@twiddle.net \
    --cc=torvalds@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®