While SMP isn't planned for a long while now, mutual exclusion will still be needed before task scheduling is added.
For example, say there were two processes. Process A allocates memory, but in the middle of malloc, its timeslice expires. Process B then also allocates memory. Without mutual exclusion, it's possible that both process A and process B might allocate the same block of memory.
While SMP isn't planned for a long while now, mutual exclusion will still be needed before task scheduling is added.
For example, say there were two processes. Process A allocates memory, but in the middle of malloc, its timeslice expires. Process B then also allocates memory. Without mutual exclusion, it's possible that both process A and process B might allocate the same block of memory.