Thread (7 messages) flat view 7 messages, 4 authors, 2016-08-25

[help] How to test kernel code that I wrote?

From: Valdis.Kletnieks at vt.edu <hidden>
Date: 2016-08-25 13:35:28

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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160825/b2191fc8/attachment.bin 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help