Skip to content

utkarsh512/pqkmod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pqkmod

A loadable kernel module for implementing priority queue. It is written for Ubuntu 20.04 with kernel 5.6.9.

This repository is part of assignment-1 part-b of the couse CS60038 - Advances in Operating System Design.

Install, build and run!

  • Clone the repository

    $ git clone https://github.com/utkarsh512/pqkmod
  • Build the kernel module and interactive runner

    $ cd pqkmod
    $ make all
    $ gcc interactive_runner.c -o run
  • Load the module in kernel

    $ sudo insmod pqkmod.ko
  • Run the interactive runner (for doing concurrency check, do this on multiple shell window)

    $ ./run
  • For verbose, open a new shell window to view kernel logs as

    $ cat /dev/kmsg

Removing module from kernel

$ sudo rmmod pqkmod.ko
$ make clean

About

Kernel module implementing priority queue

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published