All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hapke <mah@tzi.de>
To: linux-smp@vger.kernel.org
Subject: get/put_user() problems
Date: Thu, 30 May 2002 02:47:06 +0200	[thread overview]
Message-ID: <3CF5768A.6080308@tzi.de> (raw)

Hello,


i need to copy data from kernel space to user space. An ISR executed on 
CPU0 needs to perform get/put_user()-calls to transfer some data into 
user space, where the concerned process is executed on CPU1.
It is obvious that i must set up something before, because it doesn't 
work the usual way, put_user() returns -14 (-EFAULT) when called.
BTW, it works when both, ISR and process, are executed on the same CPU.

My system is a dual P3 at 933 Mhz and 1G of ram. Kernel version is 
2.4.9. It is compatible to Intel MP-Spec. 1.1. The chipset is 
ServerWorks CNB20LE (rev 05).

Does anyone have an idea?

Thank you,
Mark


             reply	other threads:[~2002-05-30  0:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-30  0:47 Mark Hapke [this message]
2002-05-30  2:21 ` get/put_user() problems Alan Cox

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=3CF5768A.6080308@tzi.de \
    --to=mah@tzi.de \
    --cc=linux-smp@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 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.