Re: kernel/sched.c questions

2001-04-05 Thread Steven Walter
On Wed, Apr 04, 2001 at 04:52:32PM -0300, Sarda?ons, Eliel wrote: > switch (prev->state) { > case TASK_INTERRUPTIBLE: > if (signal_pending(prev)) { > prev->state = TASK_RUNNING; > break; >

Re: kernel/sched.c questions

2001-04-04 Thread Bjorn Wesen
On 4 Apr 2001, Andi Kleen wrote: > > >> Hello, I would like to know why you put this two functions: > > >> void scheduling_functions_start_here(void) { } > > >> ... > > >> void scheduling_functions_end_here(void) { } > This is needed for a very bad hack to get the EIP information in ps -lax:

Re: kernel/sched.c questions

2001-04-04 Thread Richard B. Johnson
On Wed, 4 Apr 2001, Tim Walberg wrote: > On 04/04/2001 16:52 -0300, Sardañons, Eliel wrote: > >>Hello, I would like to know why you put this two functions: > >>void scheduling_functions_start_here(void) { } > >>... > >>void scheduling_functions_end_here(void) { } > >> > This

Re: kernel/sched.c questions

2001-04-04 Thread Stuart MacDonald
I had similar questions recently when I was doing some hacking; these are my guesses: From: ; "Eliel" <[EMAIL PROTECTED]> > Hello, I would like to know why you put this two functions: > void scheduling_functions_start_here(void) { } > ... > void scheduling_functions_end_here(void) { } Just as ma

Re: kernel/sched.c questions

2001-04-04 Thread Andi Kleen
Tim Walberg <[EMAIL PROTECTED]> writes: > On 04/04/2001 16:52 -0300, Sardañons, Eliel wrote: > >>Hello, I would like to know why you put this two functions: > >>void scheduling_functions_start_here(void) { } > >>... > >>void scheduling_functions_end_here(void) { } > >> > > Th

Re: kernel/sched.c questions

2001-04-04 Thread Tim Walberg
On 04/04/2001 16:52 -0300, Sardañons, Eliel wrote: >> Hello, I would like to know why you put this two functions: >> void scheduling_functions_start_here(void) { } >> ... >> void scheduling_functions_end_here(void) { } >> That one I have no idea about - maybe some perver

kernel/sched.c questions

2001-04-04 Thread Sardañons, Eliel
Hello, I would like to know why you put this two functions: void scheduling_functions_start_here(void) { } ... void scheduling_functions_end_here(void) { } why you put 'case TASK_RUNNING' switch (prev->state) { case TASK_INTERRUPTIBLE: if (signal_pending(p