)]}'
{
  "commit": "54a015104136974262afa4b8ddd943ea70dec8a2",
  "tree": "713f0c1f4d0afe62e5c568a424e309f70388cf7f",
  "parents": [
    "783e391b7b5b273cd20856d8f6f4878da8ec31b3"
  ],
  "author": {
    "name": "Roland McGrath",
    "email": "roland@redhat.com",
    "time": "Thu Apr 10 15:37:38 2008 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Apr 10 17:28:26 2008 -0700"
  },
  "message": "asmlinkage_protect replaces prevent_tail_call\n\nThe prevent_tail_call() macro works around the problem of the compiler\nclobbering argument words on the stack, which for asmlinkage functions\nis the caller\u0027s (user\u0027s) struct pt_regs.  The tail/sibling-call\noptimization is not the only way that the compiler can decide to use\nstack argument words as scratch space, which we have to prevent.\nOther optimizations can do it too.\n\nUntil we have new compiler support to make \"asmlinkage\" binding on the\ncompiler\u0027s own use of the stack argument frame, we have work around all\nthe manifestations of this issue that crop up.\n\nMore cases seem to be prevented by also keeping the incoming argument\nvariables live at the end of the function.  This makes their original\nstack slots attractive places to leave those variables, so the compiler\ntends not clobber them for something else.  It\u0027s still no guarantee, but\nit handles some observed cases that prevent_tail_call() did not.\n\nSigned-off-by: Roland McGrath \u003croland@redhat.com\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "022bcaa3b42ed0c9e270a9734ad36c77bd3092f0",
      "old_mode": 33188,
      "old_path": "arch/x86/kernel/tls.c",
      "new_id": "ab6bf375a3077e0e6052f07bff9c5c6a93742e45",
      "new_mode": 33188,
      "new_path": "arch/x86/kernel/tls.c"
    },
    {
      "type": "modify",
      "old_id": "a4b12022edaa27cb8cd3ea865d14f1368d507660",
      "old_mode": 33188,
      "old_path": "fs/open.c",
      "new_id": "3fa4e4ffce4cb4ba69862703f90d289731809eab",
      "new_mode": 33188,
      "new_path": "fs/open.c"
    },
    {
      "type": "modify",
      "old_id": "31739c7d66a94930868ed1037bed18df47d3c1e1",
      "old_mode": 33188,
      "old_path": "include/asm-x86/linkage.h",
      "new_id": "d605eeba0f700292f1373d36167c97e79a4ae006",
      "new_mode": 33188,
      "new_path": "include/asm-x86/linkage.h"
    },
    {
      "type": "modify",
      "old_id": "0592936344c426e71a05be54e2a11bc705eb1e6a",
      "old_mode": 33188,
      "old_path": "include/linux/linkage.h",
      "new_id": "fe2a39c489b6735f396d5f661c4b0c1781f2c230",
      "new_mode": 33188,
      "new_path": "include/linux/linkage.h"
    },
    {
      "type": "modify",
      "old_id": "53872bf993fa79d46b6e252db4f393c6a3e6828f",
      "old_mode": 33188,
      "old_path": "kernel/exit.c",
      "new_id": "073005b1cfb2b072245f64edd313fe8c466c6992",
      "new_mode": 33188,
      "new_path": "kernel/exit.c"
    },
    {
      "type": "modify",
      "old_id": "dd308ba4e03b90ce07e85c35a8f9be4e2d5365d0",
      "old_mode": 33188,
      "old_path": "kernel/uid16.c",
      "new_id": "3e41c1673e2f1a5996e6437c6d6ecc6e0e9481ff",
      "new_mode": 33188,
      "new_path": "kernel/uid16.c"
    }
  ]
}
