public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* wait queue process state
@ 2002-05-27 21:11 Joseph Cordina
  2002-05-27 15:49 ` William Lee Irwin III
  2002-05-28  7:57 ` Terje Eggestad
  0 siblings, 2 replies; 13+ messages in thread
From: Joseph Cordina @ 2002-05-27 21:11 UTC (permalink / raw)
  To: linux-kernel

Hi,
   I am quite new to this list and thus does not know if this question 
has been answered many a times. I have looked in the archive but could 
not find it. Here goes anyway:
     I realised that when processes are placed in the wait queue, they 
are set at either INTERRUPTIBLE or NONINTERRUPTIBLE. I also noticed that 
something like file access is set as NONINTERRUPTIBLE. Could someone 
please tell me the reason for having these two states. I can understand 
that INTERRUPTIBLE can be made to be interrupted by a timer or a signal 
and vice versa for UNTERRUPTIBLE. Yet what makes blocking system calls 
as INTERRUPTIBLE or NONINTERRUPTIBLE. Also why is file access considered 
as NONINTERRUPTIBLE.

In addition, inside the kernel running, are these two different states 
treated differently (apart from the allowance to be interrupted or 
otherwise).

The reason I am asking is that I am working on scheduler activations 
which allow new kernel threads to be created when a kernel thread blocks 
inside the kernel. Yet this only works for INTERRUPTIBLE processes, I 
was thinking of making it work also for NONINTERRUPTIBLE processes. Just 
wondering if this would have any repurcusions. Also when a process 
generates a page fault which causes a page to be retreived from the 
filesystem, it such a process placed in the wait queue as 
NONINTERRUPTIBLE also ?

Cheers

Joseph Cordina
University of Malta


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2002-05-31 19:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-27 21:11 wait queue process state Joseph Cordina
2002-05-27 15:49 ` William Lee Irwin III
2002-05-28  7:57 ` Terje Eggestad
2002-05-28 23:01   ` jw schultz
2002-05-28 23:05     ` Benjamin LaHaise
2002-05-29  0:21       ` Alan Cox
2002-05-29 10:58         ` David Woodhouse
2002-05-29 12:43           ` Alan Cox
2002-05-29 11:55             ` Roman Zippel
2002-05-29 13:29               ` Alan Cox
2002-05-29 11:56             ` David Woodhouse
2002-05-31 19:05               ` Theodore Ts'o
2002-05-29 11:25       ` Trond Myklebust

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox