)]}' { "commit": "973f4134d9deb396415846f902848f0a32cb4cfa", "tree": "0c1e1de4b22223d854e7e92724c7eff7ccadda75", "parents": [ "91478db1e723dcec674f5eaa4fd97ff6007efa5a" ], "author": { "name": "Sunil Khatri", "email": "sunilkh@codeaurora.org", "time": "Mon Jun 13 15:23:14 2016 -0700" }, "committer": { "name": "Thierry Strudel", "email": "tstrudel@google.com", "time": "Tue Jun 14 18:36:49 2016 +0000" }, "message": "msm: kgsl: Defer adding the mem entry to a process\n\nIf we add the mem entry pointer in the process idr and rb tree\ntoo early, other threads can do operations on the entry by\nguessing the ID or GPU address before the object gets returned\nby the creating operation.\n\nAllocate an ID for the object but don\u0027t assign the pointer until\nright before the creating function returns ensuring that another\noperation can\u0027t access it until it is ready.\n\nBug: 28026365\nBug: 28377352\nCRs-Fixed: 1002974\nChange-Id: Ic0dedbadc0dd2125bd2a7bcc152972c0555e07f8\nSigned-off-by: Jordan Crouse \u003cjcrouse@codeaurora.org\u003e\nSigned-off-by: Sunil Khatri \u003csunilkh@codeaurora.org\u003e\nSigned-off-by: Santhosh Punugu \u003cspunug@codeaurora.org\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "a1394b6d3d824b23053dbc060414c0ea3dade388", "old_mode": 33188, "old_path": "drivers/gpu/msm/kgsl.c", "new_id": "f62fe8ad0b857aee851f2c34f52854fee5632070", "new_mode": 33188, "new_path": "drivers/gpu/msm/kgsl.c" } ] }