public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: "David S. Miller" <davem@redhat.com>
Cc: linux-kernel@vger.kernel.org, bruce.holzrichter@monster.com
Subject: Re: my slab cache broken on sparc64
Date: 04 May 2002 00:58:55 +0200	[thread overview]
Message-ID: <m38z70kfdc.fsf@averell.firstfloor.org> (raw)
In-Reply-To: <61DB42B180EAB34E9D28346C11535A781780F2@nocmail101.ma.tmpw.net> <20020503.140507.89264790.davem@redhat.com>

"David S. Miller" <davem@redhat.com> writes:
> 
> It would work if the access was surrounded by:
> 
> 	old_fs = get_fs();
> 	set_fs(KERNEL_DS);
> 	... get_user(kernel_pointer) ...
> 	set_fs (old_fs);
> 
> But it is not.

It was supposed to be. I think we discussed it some time ago, but for 
some reason it was never changed. Will submit a patch in a jiffie.

-Andi (to blame for that code) 


  reply	other threads:[~2002-05-03 22:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-03 19:18 my slab cache broken on sparc64 Holzrichter, Bruce
2002-05-03 21:05 ` David S. Miller
2002-05-03 22:58   ` Andi Kleen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-05-04  1:54 Holzrichter, Bruce
2002-05-04  3:15 Holzrichter, Bruce
2002-05-04  3:07 ` David S. Miller
2002-05-04  9:46   ` Roman Zippel
2002-05-05 12:44 Holzrichter, Bruce

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=m38z70kfdc.fsf@averell.firstfloor.org \
    --to=ak@muc.de \
    --cc=bruce.holzrichter@monster.com \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.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