In order to allocate memory from kernel various types of API(application programming interfaces) are used.Two such API’s are Kmalloc() and Vmalloc(). SYNTAX: void * kmalloc(size_t size , int flags); void * vmalloc(unsigned long size); Kmalloc() is use to allocate memory … Continue reading
Threads,Like processes are a mechanism to allow a program to do more than one thing at a time.As with processes,threads appear to run concurrently;the linux kernel schedules them asynchronously,interrupting each thread from time to time to give others a chance … Continue reading
RCS file: header.h,v Working file: header.h head: 1.10 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 10; selected revisions: 10 description: this is header file here various header files are included such as module param.h init.h … Continue reading
RCS file: header.h,v Working file: header.h head: 1.1 branch: locks: strict psingh: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: gave header files which are required for the fifo and semaphore implementation. gave … Continue reading
Here i have used 3 requesting clients and 3 processing clients. RCS file: header1.h,v Working file: header1.h head: branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 0 description: this is the header file.it contains library which … Continue reading
RCS file: header.h,v Working file: header.h head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: this includes header files different libraries used in our program structure is also … Continue reading
RCS file: header.h,v Working file: header.h head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: this is header file this file includes the standard libraries required in the … Continue reading