Bikram sir,pls also explain this line ,m confused between user and memory manager
"if a new process is loaded and there is insufficient main memory an od process is swapped to disk.This os ,however does not provide full swaping,because the user,rather than the scheduler ,decides when it is time to preempt one process for another.Any swapped out process remains swapped out until the user selects that process to run"
As wiki says
swapping can be implemented in various ways. For example, swapping can be priority based. That means if a higher priority process arrives and wants service, the memory manager can swap out the lower priority process to the secondary memory so that it higher priority process can be loaded to main memory for execution. As soon higher priority process finishes, the lower priority process will be swapped back to main memory and execution will be continued