From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Hapke Subject: get/put_user() problems Date: Thu, 30 May 2002 02:47:06 +0200 Sender: linux-smp-owner@vger.kernel.org Message-ID: <3CF5768A.6080308@tzi.de> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-smp@vger.kernel.org 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