)]}'
{
  "commit": "ddd3d069c08bb1ba83aa4d522fc1360ce4afc270",
  "tree": "de16542f3e250eb621c75df487c584d785366ed3",
  "parents": [
    "c39721c775f7ac20af5ff1cbbd11f80aeec91baa"
  ],
  "author": {
    "name": "Chris Wilson",
    "email": "chris@chris-wilson.co.uk",
    "time": "Sat Jul 24 22:28:25 2010 +0100"
  },
  "committer": {
    "name": "Dave Airlie",
    "email": "airlied@redhat.com",
    "time": "Mon Aug 02 10:13:56 2010 +1000"
  },
  "message": "drm: Free the idr layers before calling idr_destroy()\n\n/* A typical clean-up sequence for objects stored in an idr tree, will\n * use idr_for_each() to free all objects, if necessary, then\n * idr_remove_all() to remove all ids, and idr_destroy() to free\n * up the cached idr_layers.\n */\n\nWe were missing the vital idr_rmove_all() step and so were leaking\nthe used layers for every dri client:\n\nunreferenced object 0xf32133c0 (size 148):\n  comm \"plymouthd\", pid 131, jiffies 4294678490 (age 2308.030s)\n  hex dump (first 32 bytes):\n    04 00 00 00 00 00 00 00 00 00 00 00 00 40 19 f3  .............@..\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n  backtrace:\n    [\u003cc04e5657\u003e] create_object+0x124/0x1f1\n    [\u003cc07cf100\u003e] kmemleak_alloc+0x4c/0x90\n    [\u003cc04db6a9\u003e] kmem_cache_alloc+0xee/0x13c\n    [\u003cc05c3d25\u003e] idr_pre_get+0x24/0x61\n    [\u003cf8315c9c\u003e] drm_gem_handle_create+0x27/0x7f [drm]\n    [\u003cf89925b2\u003e] i915_gem_create_ioctl+0x4f/0x71 [i915]\n    [\u003cf83148ac\u003e] drm_ioctl+0x272/0x356 [drm]\n    [\u003cc04f27c4\u003e] vfs_ioctl+0x33/0x91\n    [\u003cc04f31cf\u003e] do_vfs_ioctl+0x46b/0x496\n    [\u003cc04f3240\u003e] sys_ioctl+0x46/0x66\n    [\u003cc040325f\u003e] sysenter_do_call+0x12/0x38\n    [\u003cffffffff\u003e] 0xffffffff\n\nFixes https://bugzilla.kernel.org/show_bug.cgi?id\u003d15803\n\nSigned-off-by: Chris Wilson \u003cchris@chris-wilson.co.uk\u003e\nSigned-off-by: Dave Airlie \u003cairlied@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "510bc87d98f6f991e93e31d74affe90fd9986792",
      "old_mode": 33188,
      "old_path": "drivers/gpu/drm/drm_drv.c",
      "new_id": "b5a51686f492edce08e59bc0bb9fb391a5faae34",
      "new_mode": 33188,
      "new_path": "drivers/gpu/drm/drm_drv.c"
    },
    {
      "type": "modify",
      "old_id": "8601b72b6f26694def3cc4329158b9c27f770c7a",
      "old_mode": 33188,
      "old_path": "drivers/gpu/drm/drm_gem.c",
      "new_id": "4f1b8671448921dc74b4a7e201d2a03309f495d5",
      "new_mode": 33188,
      "new_path": "drivers/gpu/drm/drm_gem.c"
    }
  ]
}
