A Linux kernel module that creates the device /dev/sort
, capable of performing concurrent sorts.
In order to access the character device as a user you need to add a rule to udev with the included rules file.
$ sudo cp 99-xoro.rules /etc/udev/rules.d/
$ sudo cp 99-sort.rules /etc/udev/rules.d/
$ sudo udevadm control --reload
Build from source:
$ make
Test:
$ make check
You should see also more messages in the kernel log.
- The Linux Kernel Module Programming Guide
- Writing a simple device driver
- Character device drivers
- cdev interface
- Character device files
- Linux Workqueue
ksort
is released under the MIT license. Use of this source code is governed by
a MIT-style license that can be found in the LICENSE
file.