• DocumentCode
    2111153
  • Title

    Cohesion Analysis in Linux Kernel

  • Author

    Reddy, Viswanath K. ; Janakiram, K. ; Janakiram, Dharanipragada

  • Author_Institution
    Dept. of Comput. Sci. & Eng., IIT Madras, Chennai
  • fYear
    2006
  • fDate
    6-8 Dec. 2006
  • Firstpage
    461
  • Lastpage
    466
  • Abstract
    It is widely accepted that strong coupling such as common coupling should be used with caution among modules. Linux kernel is analyzed in terms of these common coupling instances and the results show the presence of excessive common coupling among modules. It is mentioned that unless the kernel is restructured with a bare minimum of common coupling, it would be exceedingly difficult to maintain kernel in the near future. We attribute this problem to the lack of data abstractions in the kernel. To support our argument, we have analyzed the cohesion in the Linux kernel both at the module level (file level) and function level. Although the cohesion at the function level is high, low cohesion prevails at the module level indicating the lack of focus on data abstractions at the module level. We believe that this is an inherent drawback in procedural paradigm where functionality is considered first rather than data. Hence, we suggest to migrate the kernel to object-oriented paradigm to minimize coupling among modules and increase cohesion within the modules. As performance is one of the prime concerns for an OS kernel, object oriented features can be introduced in the kernel in an incremental fashion using the technique of object-oriented wrappers.
  • Keywords
    Linux; data structures; object-oriented programming; operating system kernels; Linux kernel; OS kernel; cohesion analysis; data abstractions; function level; module level; object-oriented paradigm; object-oriented wrappers; Computer science; Kernel; Linux;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference, 2006. APSEC 2006. 13th Asia Pacific
  • Conference_Location
    Kanpur
  • ISSN
    1530-1362
  • Print_ISBN
    0-7695-2685-3
  • Type

    conf

  • DOI
    10.1109/APSEC.2006.26
  • Filename
    4137450