From: Manfred Spraul <manfred@colorfullife.com>
To: Russell King <rmk@arm.linux.org.uk>
Cc: Georg Nikodym <georgn@somanetworks.com>, linux-kernel@vger.kernel.org
Subject: Re: v2.4.19-rmk4 slab.c: /proc/slabinfo uses broken instead of slab labels
Date: Fri, 29 Nov 2002 19:24:02 +0100 [thread overview]
Message-ID: <3DE7B0C2.7050301@colorfullife.com> (raw)
In-Reply-To: <20021128224028.F27234@flint.arm.linux.org.uk>
Russell King wrote:
>On Thu, Nov 28, 2002 at 11:34:20PM +0100, Manfred Spraul wrote:
>
>
>>On i386, it's possible to skip set_fs() and use __get_user() - but
>>that's i386 specific. For example the i386 oops code uses that.
>>
>>
>
>That isn't actually an x86 specific feature - it is a requirement across
>all architectures that get_user() and friends can access kernel areas
>after set_fs(get_ds())
>
>
It's i386 specific that
__get_user().
is equivalent to
set_fs(KERNEL_DS)
get_user()
arch/i386/kernel/traps.c uses that in the fault code.
Portable code must use set_fs()/get_user(), i386 specific code can
continue to use __get_user().
--
Manfred
next prev parent reply other threads:[~2002-11-29 18:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-28 22:34 Manfred Spraul
2002-11-28 22:40 ` Russell King
2002-11-29 18:24 ` Manfred Spraul [this message]
2002-11-29 22:51 ` Russell King
2002-11-29 23:33 ` Manfred Spraul
-- strict thread matches above, loose matches on Subject: below --
2002-11-27 20:15 Georg Nikodym
2002-11-27 21:40 ` Georg Nikodym
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=3DE7B0C2.7050301@colorfullife.com \
--to=manfred@colorfullife.com \
--cc=georgn@somanetworks.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk@arm.linux.org.uk \
/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®