)]}'
{
  "commit": "b34a6b1da371ed8af1221459a18c67970f7e3d53",
  "tree": "5addc850de13623b172395b9d0d7d670930fa6b3",
  "parents": [
    "d40dcdb0172a1ba853464983a059fb45e0aaf61a"
  ],
  "author": {
    "name": "Vasiliy Kulikov",
    "email": "segoon@openwall.com",
    "time": "Tue Jul 26 16:08:48 2011 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Tue Jul 26 16:49:44 2011 -0700"
  },
  "message": "ipc: introduce shm_rmid_forced sysctl\n\nAdd support for the shm_rmid_forced sysctl.  If set to 1, all shared\nmemory objects in current ipc namespace will be automatically forced to\nuse IPC_RMID.\n\nThe POSIX way of handling shmem allows one to create shm objects and\ncall shmdt(), leaving shm object associated with no process, thus\nconsuming memory not counted via rlimits.\n\nWith shm_rmid_forced\u003d1 the shared memory object is counted at least for\none process, so OOM killer may effectively kill the fat process holding\nthe shared memory.\n\nIt obviously breaks POSIX - some programs relying on the feature would\nstop working.  So set shm_rmid_forced\u003d1 only if you\u0027re sure nobody uses\n\"orphaned\" memory.  Use shm_rmid_forced\u003d0 by default for compatability\nreasons.\n\nThe feature was previously impemented in -ow as a configure option.\n\n[akpm@linux-foundation.org: fix documentation, per Randy]\n[akpm@linux-foundation.org: fix warning]\n[akpm@linux-foundation.org: readability/conventionality tweaks]\n[akpm@linux-foundation.org: fix shm_rmid_forced/shm_forced_rmid confusion, use standard comment layout]\nSigned-off-by: Vasiliy Kulikov \u003csegoon@openwall.com\u003e\nCc: Randy Dunlap \u003crdunlap@xenotime.net\u003e\nCc: \"Eric W. Biederman\" \u003cebiederm@xmission.com\u003e\nCc: \"Serge E. Hallyn\" \u003cserge.hallyn@canonical.com\u003e\nCc: Daniel Lezcano \u003cdaniel.lezcano@free.fr\u003e\nCc: Oleg Nesterov \u003coleg@redhat.com\u003e\nCc: Tejun Heo \u003ctj@kernel.org\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Alan Cox \u003calan@lxorguk.ukuu.org.uk\u003e\nCc: Solar Designer \u003csolar@openwall.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": "1c7fb0a94e28a84cf6a8c2b56c82babe9fa34d64",
      "old_mode": 33188,
      "old_path": "Documentation/sysctl/kernel.txt",
      "new_id": "704e474a93df8539e093aa3569bb889faa1adb70",
      "new_mode": 33188,
      "new_path": "Documentation/sysctl/kernel.txt"
    },
    {
      "type": "modify",
      "old_id": "a6d1655f9607de872a10fecaa744e38412c8edb2",
      "old_mode": 33188,
      "old_path": "include/linux/ipc_namespace.h",
      "new_id": "8a297a5e794cc8e51c22351098b80a35ce43ef09",
      "new_mode": 33188,
      "new_path": "include/linux/ipc_namespace.h"
    },
    {
      "type": "modify",
      "old_id": "eca6235a46c0b1b89d951a90216b132c6a21cfb7",
      "old_mode": 33188,
      "old_path": "include/linux/shm.h",
      "new_id": "7d27ffde01902a7a29687c5ef36b607d290c694d",
      "new_mode": 33188,
      "new_path": "include/linux/shm.h"
    },
    {
      "type": "modify",
      "old_id": "56410faa4550ee65d521aad623e0f52d5a522368",
      "old_mode": 33188,
      "old_path": "ipc/ipc_sysctl.c",
      "new_id": "00fba2bab87d8019739e4645f98e21559688dcbe",
      "new_mode": 33188,
      "new_path": "ipc/ipc_sysctl.c"
    },
    {
      "type": "modify",
      "old_id": "27884adb1a9072b6bea5caabdee25cf5b14a8465",
      "old_mode": 33188,
      "old_path": "ipc/shm.c",
      "new_id": "3f5b14365f33e54408c5e89d3b15aacbc2c1435b",
      "new_mode": 33188,
      "new_path": "ipc/shm.c"
    },
    {
      "type": "modify",
      "old_id": "9ee58bb9e60fb0602755445c672c067db8f72ea4",
      "old_mode": 33188,
      "old_path": "kernel/exit.c",
      "new_id": "2913b3509d4288026990cc087894e69eace6c564",
      "new_mode": 33188,
      "new_path": "kernel/exit.c"
    }
  ]
}
