)]}'
{
  "commit": "8a0bdec194c21c8fdef840989d0d7b742bb5d4bc",
  "tree": "0185e4cfa29f18a2f7b9d297e049a1de5314d0ec",
  "parents": [
    "e3a7cca1ef4c1af9b0acef9bd66eff6582a737b5"
  ],
  "author": {
    "name": "Ravikiran G Thirumalai",
    "email": "kiran@scalex86.org",
    "time": "Tue Mar 31 15:19:40 2009 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Wed Apr 01 08:59:12 2009 -0700"
  },
  "message": "mm: fix SHM_HUGETLB to work with users in hugetlb_shm_group\n\nFix hugetlb subsystem so that non root users belonging to\nhugetlb_shm_group can actually allocate hugetlb backed shm.\n\nCurrently non root users cannot even map one large page using SHM_HUGETLB\nwhen they belong to the gid in /proc/sys/vm/hugetlb_shm_group.  This is\nbecause allocation size is verified against RLIMIT_MEMLOCK resource limit\neven if the user belongs to hugetlb_shm_group.\n\nThis patch\n1. Fixes hugetlb subsystem so that users with CAP_IPC_LOCK and users\n   belonging to hugetlb_shm_group don\u0027t need to be restricted with\n   RLIMIT_MEMLOCK resource limits\n2. This patch also disables mlock based rlimit checking (which will\n   be reinstated and marked deprecated in a subsequent patch).\n\nSigned-off-by: Ravikiran Thirumalai \u003ckiran@scalex86.org\u003e\nReviewed-by: Mel Gorman \u003cmel@csn.ul.ie\u003e\nCc: William Lee Irwin III \u003cwli@holomorphy.com\u003e\nCc: Adam Litke \u003cagl@us.ibm.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": "9b800d97a68771b2299e978ebfdb003476e1c075",
      "old_mode": 33188,
      "old_path": "fs/hugetlbfs/inode.c",
      "new_id": "bc56df8ce0010e9c0082203ef42e95f1b12308d6",
      "new_mode": 33188,
      "new_path": "fs/hugetlbfs/inode.c"
    }
  ]
}
