So you have just written, tested, debugged, and delivered a kernel module to your satisfied customer, who then distributed it to end users. Unfortunately, angry and frantic reports of system lockups, filesystem corruption, and other atrocities soon fill your mailbox. A little detective work quickly reveals that problems manifest themselves only on SMP systems. Perhaps it never even occurred to you that your module would be used on a multiprocessor box, so your testbeds all have single CPUs.
Read Full Articles From Here...