Question: Follow instructions of Chapter 2-Programming Projects-Linux Kernel Modules on the textbook Operating Systems Concepts-9th Edition Page 96. However, Ive changed Part II Assignment for new

Follow instructions of Chapter 2-Programming Projects-Linux Kernel Modules on the textbook "Operating Systems Concepts-9th Edition" Page 96. However, Ive changed Part II Assignment for new assignment requirements. The new Part II Assignment is as follows: New Part II Assignment: 1) In the module entry point, create a linked list containing five struct birthday elements (respectively for the following people, from head to tail: Alice, Bob, Mallory, Nancy and Kate). Traverse the linked list and output its contents to the kernel log buffer. Invoke the dmesg command to ensure the list is properly constructed once the kernel module has been loaded. Please take the screen shots. Alice born on Jan 9, 1999; Bob born on March 8, 1978; Mallory born on Dec, 1958; Nancy born on Jun 9, 2003; Kate born on March 8, 1978; 2) Please sort the five struct birthday elements in the list by this sequence: from head to tail, the people are from old to young. You may need to come up with new functions if you need. Traverse the linked list again and output its contents to the kernel log buffer. Invoke the dmesg command to ensure the list is properly rearranged. Please take the screen shots. 3) In the module exit point, delete the elements from the linked list and return the free memory back to the kernel. Again, invoke the dmesg command to check that the list has been removed once the kernel module has been unloaded. Please take the screen shots.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!