From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ajit Anand Shrivastav" Subject: Problem with SMP Date: 18 Apr 2002 14:18:59 -0000 Sender: linux-smp-owner@vger.kernel.org Message-ID: <20020418141859.27175.qmail@webmail1.rediffmail.com> Reply-To: "Ajit Anand Shrivastav" Mime-Version: 1.0 Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; format=flowed; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-smp@vger.kernel.org Hello, I have got an application level code and driver(kernel) level code. Application level code contains the whole logic of the device driver.driver is very light weight as it just provides interface of the device to the application. The above application and kernel level code works perfectly on uni-processor machine. To port the code on SMP environment I havent made any changes to the application level code and just put some spinlocks for global variables in the driver (kernel level) code. Now the application is not functioning consistently on SMP system. The application hangs in between but the system remains stable and the time of the application failure is also not fixed thats why i m finding it difficult to trace the bug. Now can u tell me whether i need to modify the application level code also to make the whole driver SMP compliant. Thanx and regds Ajit Shrivastav