Quick access of sysfs entries through custom system call
Sagar Maliye, Sandeep Krishnaswamy, Harish Gajula · 2016
In Linux, Sysfs entries are created to let the kernel export information to user space processes as well as to take in user input. The entries go through the File System to locate the show and store functions that are registered for it. Although this method is a good way to give inputs from user to the kernel space while restricting access, it is a slower method as it has to go through the file system. In this paper, a custom system call is proposed for bypassing the file system and accessing the frequently used sysfs functions. Comparative testing is done and an analysis is presented to show the better option. Custom System call has the ability to reduce the access time and thus increase the overall performance of the system.