On Wed, 24 Aug 2016 18:18:18 +0800, Louie Lu said: > in this doc have mention, there have hardirq, softirq. > How can I test it from these irq method? > First, figure out if the code in question should even be called from those contexts, or if it's a bug if that happens. Hard and soft IRQ contexts are basically interrupt handlers. If your code is a "hello world" module, or if it's filesystem code, or pretty much any part of the kernel that's not a device driver, it probably should not be called from IRQ context.
Attachment:
pgp3k2YgorihL.pgp
Description: PGP signature
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies