Linux-MM
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Linux Memory Management

  • Front Page

  • Documentation

  • Internals

  • Projects

  • Academic Research

References

  • LinuxKernelMailingLists

  • MemoryManagementLinks

Related sites

  • Kernel Newbies

  • Memory Management Forum

Wiki

  • Site Editors

  • Side Bar

  • Hosted by WikiWall

Navigation

  • RecentChanges
  • FindPage
  • HelpContents
Revision 2 as of 2017-12-30 01:05:11
LinuxMM:
  • LikelyAndUnlikely

The likely() and unlikely() macros are optimization instructions for the compiler. They affect the order of the generated assembly language instructions, but do not affect the flow of control. They can provide hints as to how a test will probably be resolved, but otherwise, just ignore them and look at what's inside.

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01