{"shas":[["14b3f316fdd6bbb49c1157a7f2f3d6cebe0789c9","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","mm: remove unlikely() from page_mapping()\n\n    page_mapping() has a unlikely that the mapping has PAGE_MAPPING_ANON set.\n    But running the annotated branch profiler on a normal desktop system doing\n    vairous tasks (xchat, evolution, firefox, distcc), it is not really that\n    unlikely that the mapping here will have the PAGE_MAPPING_ANON flag set:\n\n     correct incorrect  %        Function                  File              Line\n     ------- ---------  -        --------                  ----              ----\n    35935762 1270265395  97 page_mapping                   mm.h                 659\n    1306198001   143659   0 page_mapping                   mm.h                 657\n    203131478   121586   0 page_mapping                   mm.h                 657\n     5415491     1116   0 page_mapping                   mm.h                 657\n    74899487     1116   0 page_mapping                   mm.h                 657\n    203132845      224   0 page_mapping                   mm.h                 659\n     5415464       27   0 page_mapping                   mm.h                 659\n       13552        0   0 page_mapping                   mm.h                 657\n       13552        0   0 page_mapping                   mm.h                 659\n      242630        0   0 page_mapping                   mm.h                 657\n      242630        0   0 page_mapping                   mm.h                 659\n    74899487        0   0 page_mapping                   mm.h                 659\n\n    The page_mapping() is a static inline, which is why it shows up multiple\n    times.\n\n    The unlikely in page_mapping() was correct a total of 1909540379 times and\n    incorrect 1270533123 times, with a 39% being incorrect.  With this much of\n    an error, it's best to simply remove the unlikely and have the compiler\n    and branch prediction figure this out.\n\n    Signed-off-by: Steven Rostedt <rostedt@goodmis.org>\n    Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>\n    Cc: Nick Piggin <npiggin@kernel.dk>\n    Cc: Rik van Riel <riel@redhat.com>\n    Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>\n    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>\n    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>","LorD ClockaN"]],"ref":"refs/heads/2.6.35-BFS","size":1,"head":"14b3f316fdd6bbb49c1157a7f2f3d6cebe0789c9","push_id":34551273}