)]}'
{
  "commit": "d73d65293e3e2de7e916a89c8da30be0948afab7",
  "tree": "62b0ca76e3099c927f2960856dd060b136a8ccef",
  "parents": [
    "652486fb84a07ed750f1c11639518f55808bf555"
  ],
  "author": {
    "name": "Eric W. Biederman",
    "email": "ebiederm@xmission.com",
    "time": "Tue Mar 28 16:11:03 2006 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@g5.osdl.org",
    "time": "Tue Mar 28 18:36:40 2006 -0800"
  },
  "message": "[PATCH] pidhash: kill switch_exec_pids\n\nswitch_exec_pids is only called from de_thread by way of exec, and it is\nonly called when we are exec\u0027ing from a non thread group leader.\n\nCurrently switch_exec_pids gives the leader the pid of the thread and\nunhashes and rehashes all of the process groups.  The leader is already in\nthe EXIT_DEAD state so no one cares about it\u0027s pids.  The only concern for\nthe leader is that __unhash_process called from release_task will function\ncorrectly.  If we don\u0027t touch the leader at all we know that\n__unhash_process will work fine so there is no need to touch the leader.\n\nFor the task becomming the thread group leader, we just need to give it the\npid of the old thread group leader, add it to the task list, and attach it\nto the session and the process group of the thread group.\n\nCurrently de_thread is also adding the task to the task list which is just\nsilly.\n\nCurrently the only leader of __detach_pid besides detach_pid is\nswitch_exec_pids because of the ugly extra work that was being\nperformed.\n\nSo this patch removes switch_exec_pids because it is doing too much, it is\ncreating an unnecessary special case in pid.c, duing work duplicated in\nde_thread, and generally obscuring what it is going on.\n\nThe necessary work is added to de_thread, and it seems to be a little\nclearer there what is going on.\n\nSigned-off-by: Eric W. Biederman \u003cebiederm@xmission.com\u003e\nCc: Oleg Nesterov \u003coleg@tv-sign.ru\u003e\nCc: Kirill Korotaev \u003cdev@sw.ru\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dd194923c52c77e482d0d4601c27916aee68139f",
      "old_mode": 33188,
      "old_path": "fs/exec.c",
      "new_id": "db0769447d33bf8743be643261d1ff8ab0fcbad0",
      "new_mode": 33188,
      "new_path": "fs/exec.c"
    },
    {
      "type": "modify",
      "old_id": "5b2fcb19d2dae977f86818caaae4f25d8204d2bd",
      "old_mode": 33188,
      "old_path": "include/linux/pid.h",
      "new_id": "099e70ecf7c73244add6fd9e9cd5d186553a1f68",
      "new_mode": 33188,
      "new_path": "include/linux/pid.h"
    },
    {
      "type": "modify",
      "old_id": "1acc07246991972a1eb012f5db0dadd4aeb1a188",
      "old_mode": 33188,
      "old_path": "kernel/pid.c",
      "new_id": "7781d9999058337f12618910b81cea8c0ee1c0f0",
      "new_mode": 33188,
      "new_path": "kernel/pid.c"
    }
  ]
}
