Skip to contentSkip to conversation

Problem with SMP

DISCUSSION Ajit Anand Shrivastav 1 participant 1 message Apr 18, 2002

lore
Share & tools
lore
#0 lore raw

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