)]}'
{
  "commit": "15ae02baf025750cd79ef3929c28f7083a088bd2",
  "tree": "9c79b44e5ec865ff62a451bb6e4882d3f4d5b060",
  "parents": [
    "f63fd7e299ee13da071ecfce2b90b58c5e1562b1"
  ],
  "author": {
    "name": "Eric Dumazet",
    "email": "dada1@cosmosbay.com",
    "time": "Wed Feb 06 01:37:49 2008 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@woody.linux-foundation.org",
    "time": "Wed Feb 06 10:41:08 2008 -0800"
  },
  "message": "lib/extable.c: remove an expensive integer divide in search_extable()\n\nActual code let compiler generates idiv instruction on x86.\n\nUsing a right shift is OK here and readable as well.\n\nBefore patch\n   10:   57                      push   %edi\n   11:   56                      push   %esi\n   12:   89 d6                   mov    %edx,%esi\n   14:   53                      push   %ebx\n   15:   89 c3                   mov    %eax,%ebx\n   17:   eb 22                   jmp    3b \u003csearch_extable+0x2b\u003e\n   19:   89 f0                   mov    %esi,%eax\n   1b:   ba 02 00 00 00          mov    $0x2,%edx\n   20:   29 d8                   sub    %ebx,%eax\n   22:   89 d7                   mov    %edx,%edi\n   24:   c1 f8 03                sar    $0x3,%eax\n   27:   99                      cltd\n   28:   f7 ff                   idiv   %edi\n   2a:   8d 04 c3                lea    (%ebx,%eax,8),%eax\n   2d:   39 08                   cmp    %ecx,(%eax)\n...\n\nAfter patch\n\n00000010 \u003csearch_extable\u003e:\n   10:   53                      push   %ebx\n   11:   89 c3                   mov    %eax,%ebx\n   13:   eb 18                   jmp    2d \u003csearch_extable+0x1d\u003e\n   15:   89 d0                   mov    %edx,%eax\n   17:   29 d8                   sub    %ebx,%eax\n   19:   c1 f8 04                sar    $0x4,%eax\n   1c:   8d 04 c3                lea    (%ebx,%eax,8),%eax\n   1f:   39 08                   cmp    %ecx,(%eax)\n...\n\nSigned-off-by: Eric Dumazet \u003cdada1@cosmosbay.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "463f4560f16da1e6d03394b46d8e0763948501f7",
      "old_mode": 33188,
      "old_path": "lib/extable.c",
      "new_id": "179c0874559569bf2626cbfc70bfcfef09474097",
      "new_mode": 33188,
      "new_path": "lib/extable.c"
    }
  ]
}
