Re: how to check kernel is configured with preemption or not

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi :)

On Thu, Oct 27, 2011 at 01:22, sri <bskmohan@xxxxxxxxx> wrote:
>
> Am working on a problem where the system hanging after some unequal
> intervals, with the below o/p printing on the console,
> Though this might be mostly tighten to the click router module am using, but
> I see the do_IRQ in the stack trace multiple times.
> This brought some suspicious questions to me why so many times the module is
> interrupted.

IMHO, the problem here could be in fact showing that (if indeed it's
true) the related module has somekind of reentrancy problem...and
preemption in turn shows that to you or make it happen quicker.

A good written module should work fine no matter how many times it's
interrupted, assuming locks are used correctly in the critical
sections.


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux