public inbox for linux-smp@vger.kernel.org
 help / color / mirror / Atom feed
From: Mark Hapke <mah@tzi.de>
To: linux-smp@vger.kernel.org
Subject: Re: get/put_user() on SMP system
Date: Thu, 23 May 2002 15:56:44 +0200	[thread overview]
Message-ID: <3CECF51C.8010708@tzi.de> (raw)
In-Reply-To: 3CEBB656.4020806@tzi.de

Hi.

i referred to posting that is not existent, sorry for that.

In the posting i mentioned that i receive error -14 (-EFAULT) telling me
that the propper vma could not be found. This is confusing because it
works when isr and process run on the same cpu, as allready noted below.
Is it maybe related to the "current" process handling, since "current"
is taken off the stack and is therefore local to the specific cpu?


Thanks,
Mark



PS I really need a hint, so if someone knows, please tell me.


Mark Hapke wrote:
 > Hello.
 >
 > This posting is related to the one before ("put/get_user problems on
 > SMP-System"). I am working on dual P3 system at 933Mhz with 1G RAM and a
 > ServerWorks CNB20LE (rev 05) chipset. Kernel version is 2.4.9. The
 > system is compatible to Intel MP Spec. 1.1.
 >
 > The situation is that i want to copy several unsigned long value from my
 > invoked ISR in kernel space to user space. The driver, in which the ISR
 > is included, gets some pointers to indexes and these should be updated
 > through the ISR. In this special case the ISR will definitly be running
 > on another cpu then the process whose indexes should be updated. This
 > does not work, only when ISR and process are executed on the same cpu.
 >
 > Looking at the definition of
 > __put_user_asm(x, addr, err, itype, rtype, ltype)
 >
 > I see no reason why this should not work (this is obviously my problem
 > =:-)) Can someone help me here?
 >
 >
 > Thanks,
 > Mark
 >
 > -
 > To unsubscribe from this list: send the line "unsubscribe linux-smp" in
 > the body of a message to majordomo@vger.kernel.org
 > More majordomo info at  http://vger.kernel.org/majordomo-info.html





      reply	other threads:[~2002-05-23 13:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-22 15:16 get/put_user() on SMP system Mark Hapke
2002-05-23 13:56 ` Mark Hapke [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=3CECF51C.8010708@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox