character driver insertion and clean up complete
character driver insertion and clean up complete
How does container_of works internally (ie. on RAM)??
ptr=malloc(sizeof(char)*4);
if length of available characters in string is more than 4 then memory allocation to pointer cross the limit but it does not affect the output to print the string.
Sir,
I have implemented Kernel Timer and Tasklet.
Share yours idea, view, difference between “Atomic Context and Process Context” with some relevat examples. .. Please
Threads are “light weight processes” (LWPs). The process has five fundamental parts: code (“text”), data (VM), stack, file I/O, and signal tables. “Heavy-weight processes” (HWPs) have a significant amount of overhead when switching: all the tables have to be flushed from the processor for each task switch. Also, the only way to achieve shared information between HWPs is through pipes and “shared memory”. If a HWP spawns a child HWP using fork(), the only part that is shared is the text.
Sockets are interfaces that can “plug into” each other over a network. Once so “plugged in”, the programs so connected communicate.
sir,
when i use lint command on terminal i get error “command not found”
Sir, I have implemented /proc file system successfully.
sir,
i have completed 3 bit and 5 bit and 4 bit data compression and decompression.
In file included from /usr/src/kernels/linux-2.6.38.8/arch/x86/include/asm/vm86.h:130:0,
from /usr/src/kernels/linux-2.6.38.8/arch/x86/include/asm/processor.h:10,
from /usr/src/kernels/linux-2.6.38.8/arch/x86/include/asm/thread_info.h:22,
from include/linux/thread_info.h:56,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:57,
from arch/x86/kernel/ptrace.c:8:
/usr/src/kernels/linux-2.6.38.8/arch/x86/include/asm/ptrace.h:146:13: note: previous declaration of ‘syscall_trace_enter’ was here
arch/x86/kernel/ptrace.c:1411:34: error: conflicting types for ‘syscall_trace_leave’
In file included from /usr/src/kernels/linux-2.6.38.8/arch/x86/include/asm/vm86.h:130:0,
from /usr/src/kernels/linux-2.6.38.8/arch/x86/include/asm/processor.h:10,
from /usr/src/kernels/linux-2.6.38.8/arch/x86/include/asm/thread_info.h:22,
from include/linux/thread_info.h:56,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:57,
from arch/x86/kernel/ptrace.c:8:
/usr/src/kernels/linux-2.6.38.8/arch/x86/include/asm/ptrace.h:147:13: note: previous declaration of ‘syscall_trace_leave’ was here
make[2]: *** [arch/x86/kernel/ptrace.o] Error 1
make[1]: *** [arch/x86/kernel] Error 2
make: *** [arch/x86] Error 2
what to do ?
i am using Fedora 17
kernel 3.4.2-4