)]}'
{
  "commit": "22c935f47c03399c78e64c71b757eb36fa917ff6",
  "tree": "801968ba95a13b13d25b8c7202ee0efdc4e03ad9",
  "parents": [
    "f6c7a1f34e92b0b561024ead9fa70623683025e4"
  ],
  "author": {
    "name": "Eric W. Biederman",
    "email": "ebiederm@xmission.com",
    "time": "Mon Oct 02 02:17:09 2006 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@g5.osdl.org",
    "time": "Mon Oct 02 07:57:13 2006 -0700"
  },
  "message": "[PATCH] pid: implement access helpers for a tacks various process groups\n\nIn the last round of cleaning up the pid hash table a more general struct pid\nwas introduced, that can be referenced counted.\n\nWith the more general struct pid most if not all places where we store a pid_t\nwe can now store a struct pid * and remove the need for a hash table lookup,\nand avoid any possible problems with pid roll over.\n\nLooking forward to the pid namespaces struct pid * gives us an absolute form a\npid so we can compare and use them without caring which pid namespace we are\nin.\n\nThis patchset introduces the infrastructure needed to use struct pid instead\nof pid_t, and then it goes on to convert two different kernel users that\ncurrently store a pid_t value.\n\nThere are a lot more places to go but this is enough to get the basic idea.\n\nBefore we can merge a pid namespace patch all of the kernel pid_t users need\nto be examined.  Those that deal with user space processes need to be\nconverted to using a struct pid *.  Those that deal with kernel processes need\nto converted to using the kthread api.  A rare few that only use their current\nprocesses pid values get to be left alone.\n\nThis patch:\n\ntask_session returns the struct pid of a tasks session.\ntask_pgrp    returns the struct pid of a tasks process group.\ntask_tgid    returns the struct pid of a tasks thread group.\ntask_pid     returns the struct pid of a tasks process id.\n\nThese can be used to avoid unnecessary hash table lookups, and to implement\nsafe pid comparisions in the face of a pid namespace.\n\nSigned-off-by: Eric W. Biederman \u003cebiederm@xmission.com\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": "be658e33bd26d3fba85a33f0d4e53e40018fd2d9",
      "old_mode": 33188,
      "old_path": "include/linux/sched.h",
      "new_id": "660b02f8052308b6bc4cbf12a6827e366265a868",
      "new_mode": 33188,
      "new_path": "include/linux/sched.h"
    }
  ]
}
