Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • include
  • linux
  • module.h
Find file BlameHistoryPermalink
  • Denys Vlasenko's avatar
    module: turn longs into ints for module sizes · 2f0f2a33
    Denys Vlasenko authored Jul 22, 2008
    
    
    This shrinks module.o and each *.ko file.
    
    And finally, structure members which hold length of module
    code (four such members there) and count of symbols
    are converted from longs to ints.
    
    We cannot possibly have a module where 32 bits won't
    be enough to hold such counts.
    
    For one, module loading checks module size for sanity
    before loading, so such insanely big module will fail
    that test first.
    
    Signed-off-by: default avatarDenys Vlasenko <vda.linux@googlemail.com>
    Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    2f0f2a33
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7