Files
kernel/include/linux
Konstantin Khlebnikov 02602a18c3 bug: completely remove code generated by disabled VM_BUG_ON()
Even if CONFIG_DEBUG_VM=n gcc genereates code for some VM_BUG_ON()

for example VM_BUG_ON(!PageCompound(page) || !PageHead(page)); in
do_huge_pmd_wp_page() generates 114 bytes of code.

But they mostly disappears when I split this VM_BUG_ON into two:

  -VM_BUG_ON(!PageCompound(page) || !PageHead(page));
  +VM_BUG_ON(!PageCompound(page));
  +VM_BUG_ON(!PageHead(page));

weird... but anyway after this patch code disappears completely.

  add/remove: 0/0 grow/shrink: 7/97 up/down: 135/-1784 (-1649)

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-05-29 16:22:20 -07:00
..
2012-05-15 17:30:30 -04:00
2012-05-08 14:13:25 -07:00
2012-05-02 14:15:27 -05:00
2012-05-25 12:46:23 +05:30
2012-05-17 15:36:35 -04:00
2012-05-22 11:32:31 +02:00
2012-05-12 14:28:14 +02:00
2012-05-12 14:28:16 +02:00
2012-05-07 10:58:57 -06:00
2012-05-21 21:09:38 +02:00
2012-05-11 10:56:56 +01:00
2012-05-09 13:58:06 -07:00
2012-05-22 15:20:28 -04:00
2012-05-29 16:22:19 -07:00
2012-05-19 02:51:00 -04:00
2012-05-08 20:25:42 +02:00
2012-05-26 14:17:30 -04:00
2012-05-16 15:17:08 -04:00
2012-05-14 14:15:32 -07:00
2012-05-12 15:53:42 -04:00
2012-05-17 08:51:59 -07:00
2012-05-21 23:52:30 -04:00
2012-05-19 18:34:57 -04:00
2012-05-08 12:35:06 +02:00
2012-05-14 18:53:19 -04:00
2012-05-29 16:22:19 -07:00
2012-05-21 16:16:58 -07:00
2012-05-04 16:58:47 -07:00
2012-05-22 12:16:16 +09:30