i've understood that since other processors can reach the shared data in multiprocessor system even when interrupts are disabled, we implement spinlock for the synchronization of multiprocessor systems
but the textbooks says if interrupts aren't disabled for multiprocessor system synchronization (only the spinlocks are implemented, not "disabling interrupts"), resources may be taken by other processors. So disabling interrupts is also essential in multiprocessor system synchronization
i don't get why we still have to disable interrupts for multiprocessor systems can anyone answer my question please?