I have doubt with reference to the execution of wait_event_interruptible and wake_up_interruptible.
Doubt 1: Suppose in wait_event_interruptible condition was made TRUE in that case Process state is directly changed to RUNNING state?
If Yes in that case is it not required to call wake_up ? What is the use of wake up in this case.
Doubt 2: If Another process has called wake_up for the question present in waiting state but still condition in wait_event_interruptible is FALSE what will happen in that case?
I have tried take reference from Using wait_event_interruptible and wake_up_all together thread but I did not find proper answer.