linux-mips
[Top] [All Lists]

Re: schedule() and mipsel processor

To: fpga dsp <fpga_dsp@yahoo.com.au>
Subject: Re: schedule() and mipsel processor
From: Jun Sun <jsun@mvista.com>
Date: Mon, 30 Jun 2003 10:00:13 -0700
Cc: linux-mips@linux-mips.org, jsun@mvista.com
In-reply-to: <20030628025749.40346.qmail@web41205.mail.yahoo.com>; from fpga_dsp@yahoo.com.au on Sat, Jun 28, 2003 at 12:57:49PM +1000
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030628025749.40346.qmail@web41205.mail.yahoo.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5i
On Sat, Jun 28, 2003 at 12:57:49PM +1000, fpga dsp wrote:
> Hi all,
>  
> I may ask a stupid question here but I have problem of calling any functions 
> such as interruptible_sleep_on_timeout, sleep_on ... in a timer handler, the 
> kernel just crash straight away in the function schedule(). Now I go and do a 
> diff between kern/sched.c on i686 source and mipsel source. clearly , they 
> are different. So the question is from kernel programming point of view, the 
> bottom-half of interrupt handler is still considered interrupt handler? 

Correct.  You can't call those sleep functions from timer function.

Jun

<Prev in Thread] Current Thread [Next in Thread>