Re: Schedule() call in driver context.

2010-02-19 Thread Joel Fernandes
> In fact the "kernel" is not interrupt-able in linux as I recall.  Thus > a misbehaving driver that enters an infinite loop will hang the whole > machine. ... > Another way to ask your question is "Why isn't the linux kernel itself > timesliced?" AFAIK, What you're talking about is a kernel compi

Re: Schedule() call in driver context.

2010-02-19 Thread Denis Kirjanov
Yeah, schedule() (and __sched prefixed) function call needed when we are waiting for some events. It would de wasteful to lose CPU cycles while checking condition what we are waiting for. So, instead we can just to tell the kernel to switch to another task, and wake up our task when waiting conditi

Re: Schedule() call in driver context.

2010-02-19 Thread Greg Freemyer
On Thu, Feb 18, 2010 at 4:39 PM, StephanT wrote: > Hello all, > > Why would a linux driver call "schedule()" ? > > The LDD proposes this method to fight systems hangs caused by an infinite > loop in the driver. In this > case the "schedule()" call would be a workaround. I think better fix the > in

Re: schedule

2010-02-19 Thread Joshua Lock
Hi, On Fri, 2010-02-19 at 11:42 -0500, sri ram vemulpali wrote: > Hi all, > > > Can anyone explain what is struct rcu_data and what does it > store. I suggest you read up on RCU (Read-copy update). You can find plenty of info on LWN: What is RCU, Fundamentally? - http://lwn.net/Articles/2

schedule

2010-02-19 Thread sri ram vemulpali
Hi all, Can anyone explain what is struct rcu_data and what does it store. /* 92 * Note a quiescent state. Because we do not need to know 93 * how many quiescent

Re: ieee papers

2010-02-19 Thread Greg Freemyer
On Fri, Feb 19, 2010 at 9:54 AM, Krushnaal Pai wrote: >  chandu, manish, denis, mulyadi > > Thanks for correcting me on various issues > > Now divert your useful time on answering others > questions > .bcoz u guyz are not used to doing wrong things at the wr

Re: ieee papers

2010-02-19 Thread Manish Katiyar
On Fri, Feb 19, 2010 at 12:47 AM, Krushnaal Pai wrote: > OK... SORRY FOR USING UR PORTAL FOR IEEE PAPERS > WONT DO IT AGAIN And typing in caps is again *something to avoid* while posting in mailing lists. Thanks - Manish > > On Thu, Feb 18, 2010 at 11:29 PM, Denis Kirja

Re: ieee papers

2010-02-19 Thread Krushnaal Pai
chandu, manish, denis, mulyadi Thanks for correcting me on various issues Now divert your useful time on answering others questions .bcoz u guyz are not used to doing wrong things at the wrong time..I guess ! On Fri, Feb 19, 2010

Re: ieee papers

2010-02-19 Thread chandrakant kumar
I think "Pai" is related to "maKrosoft" , they are used to do wrong things at wrong time. On Fri, 19 Feb 2010 00:47:57 +0530, Krushnaal Pai wrote: OK... SORRY FOR USING UR PORTAL FOR IEEE PAPERS WONT DO IT AGAIN On Thu, Feb 18, 2010 at 11:29 PM, Denis Kirjanov