Skip to content

HPDCS/libsspa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

libsspa

libsspa is library that implement a hybrid locking mechanism (spin/sleep), which allows the awakening of sleeping threads via SoftIRQ daemons. The time required for awakening is estimated at runtime using the sample average of the critical section duration and via the percentile configurable during compilation. It therefore needs to operate by means of a kernel module via the LKM facilities.

Kernel

To compile and insert the module:

cd KobLock
make
make insmod

To remove the module:

cd KobLock
make rmmod

or

sudo rmmod the_koblock.ko

User

In order to use the user lock after installing the module, you will then need to download LiTL and insert the patch we have put in the user-side.
LiTL will allow you to generate a script for starting programmes by replacing the functions of pthread_mutex with those of sspa

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published