void foo() { char *var = kmalloc(1, GFP_KERNEL); return; } This code will cause kernel level memory leaks, what is the difference between this and user land memory leaks
I have two modules A, B. A has a function f() that is globally acessible, i.e. the f() symbol is exported. B may want to call f() occasionally. But B should only callf()if module A is loaded.What is t
If an incoming packet comes in AND is locally proces开发者_Go百科sed, is there a way to get notified of that event?
I\'m trying to wrap my head around epoll in Linux. The normal operation seems to be: // Create the epoll_fd
This question already has answers here: How to com开发者_如何学JAVApile the Android AOSP kernel and test it with the Android Emulator?
Can a page fault occur in an interrup开发者_Python百科t handler/atomic context ?It can, but it would be a disaster. :-)(This is an oldish question.The existing answers contain correct facts, but are q
I would like to ask if it is GRUB that switch the CPU to protected mode during boot up or is it the Linux kernel that does it. And also I would like to ask - is the kernel itself (vmlinuz) an ELF or i
My question is regarding interrupts and how are they handed when the guest is executing in KVM? Lets say when kvm calls vmentry or vmresume, the guest code starts executing. Now when an ext开发者_如何
for a software i\'m writing i need to know when the linux framebuffer gets updated. I need something like Windows Mirror Drivers (for more infos look Mir开发者_开发问答ror_driver on wikipedia).
For work reasons, I ne开发者_Go百科ed to develop a LKM for Android platform. I\'m not very sure how to cross compile my AndroidModule.c and what tools to use for that. I guess that I\'ll need the sour