Re: Need some help in interpreting a code snippet

2009-12-10 Thread vinit dhatrak
On Thu, Dec 10, 2009 at 5:24 PM, Nagaprabhanjan Bellari wrote: > The code snippet is in linux/kernel/softirq.c:__do_softirq(): > == >     do { >         if (pending & 1) { >             int preempt_count = preempt_count(); >             h->action(h); >             if (preempt_count != preempt_coun

Re: Need some help in interpreting a code snippet

2009-12-10 Thread Mohammed Gamal
On Thu, Dec 10, 2009 at 1:54 PM, Nagaprabhanjan Bellari wrote: > The code snippet is in linux/kernel/softirq.c:__do_softirq(): > == >     do { >         if (pending & 1) { >             int preempt_count = preempt_count(); >             h->action(h); >             if (preempt_count != preempt_coun

Need some help in interpreting a code snippet

2009-12-10 Thread Nagaprabhanjan Bellari
The code snippet is in linux/kernel/softirq.c:__do_softirq(): == do { if (pending & 1) { int preempt_count = preempt_count(); h->action(h); if (preempt_count != preempt_count()) { printk(KERN_CRIT "BUG: softirq: %p, %x,%x\n",