From: Arnd Bergmann <arnd@arndb.de>
To: Mike Frysinger <vapier.adi@gmail.com>
Cc: liqin.chen@sunplusct.com, linux-arch@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: What's in asm-generic.git
Date: Thu, 10 Dec 2009 22:25:05 +0100 [thread overview]
Message-ID: <200912102225.05280.arnd@arndb.de> (raw)
In-Reply-To: <8bd0f97a0912101317v8143e67w9e2f1224111ac0d7@mail.gmail.com>
On Thursday 10 December 2009, Mike Frysinger wrote:
> > I have found now that sys_accept4 was missing. sys_set_thread_area however
> > is only defined on x86 and mips. Since you don't currently implement this
> > on score, maybe it would be more appropriate to handle it like the other
> > architectures do, rather than adding it to asm-generic/unistd.h?
>
> isnt the point of asm-generic/unistd.h to collect all common syscalls
> ? if there's syscalls that ideally should be handled by everyone but
> currently doesnt, then it's easy to define it in the header but have
> the actual entry.S leave it as a hole ...
Well, sys_thread_area is not a common syscall but rather an exception.
I haven't looked at how glibc does implents TLS on different architectures,
but I think this is commonly done purely in user space without the
need for a syscall.
Arnd
next prev parent reply other threads:[~2009-12-10 21:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-03 19:14 What's in asm-generic.git Arnd Bergmann
2009-12-07 5:54 ` liqin.chen
2009-12-07 5:54 ` liqin.chen
2009-12-07 15:14 ` Arnd Bergmann
2009-12-10 21:10 ` Arnd Bergmann
2009-12-10 21:17 ` Mike Frysinger
2009-12-10 21:25 ` Arnd Bergmann [this message]
2009-12-11 12:54 ` Geert Uytterhoeven
2009-12-11 13:06 ` Arnd Bergmann
2009-12-11 13:58 ` Geert Uytterhoeven
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=200912102225.05280.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liqin.chen@sunplusct.com \
--cc=vapier.adi@gmail.com \
/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.