)]}'
{
  "commit": "c8a250058656495be02c00de61e26b017c86ef00",
  "tree": "d192a7a21deb47146654ab4dc3c824f0cfd5808a",
  "parents": [
    "79d381c9f2354b594dcab9b04dfcc0debf7294fe"
  ],
  "author": {
    "name": "Peter Zijlstra",
    "email": "peterz@infradead.org",
    "time": "Fri Apr 17 09:40:49 2009 +0200"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Fri Apr 17 18:00:00 2009 +0200"
  },
  "message": "lockdep: more robust lockdep_map init sequence\n\nSteven Rostedt reported:\n\n\u003e OK, I think I figured this bug out. This is a lockdep issue with respect\n\u003e to tracepoints.\n\u003e\n\u003e The trace points in lockdep are called all the time. Outside the lockdep\n\u003e logic. But if lockdep were to trigger an error / warning (which this run\n\u003e did) we might be in trouble. For new locks, like the dentry-\u003ed_lock, that\n\u003e are created, they will not get a name:\n\u003e\n\u003e void lockdep_init_map(struct lockdep_map *lock, const char *name,\n\u003e                       struct lock_class_key *key, int subclass)\n\u003e {\n\u003e         if (unlikely(!debug_locks))\n\u003e                 return;\n\u003e\n\u003e When a problem is found by lockdep, debug_locks becomes false. Thus we\n\u003e stop allocating names for locks. This dentry-\u003ed_lock I had, now has no\n\u003e name. Worse yet, I have CONFIG_DEBUG_VM set, that scrambles non\n\u003e initialized memory. Thus, when the trace point was hit, it had junk for\n\u003e the lock-\u003ename, and the machine crashed.\n\nAh, nice catch. I think we should put at least the name in regardless.\n\nEnsure we at least initialize the trivial entries of the depmap so that\nthey can be relied upon, even when lockdep itself decided to pack up and\ngo home.\n\n[ Impact: fix lock tracing after lockdep warnings. ]\n\nReported-by: Steven Rostedt \u003crostedt@goodmis.org\u003e\nSigned-off-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nAcked-by: Steven Rostedt \u003crostedt@goodmis.org\u003e\nCc: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003c1239954049.23397.4156.camel@laptop\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b0f011866969acb7f187c3474e53551723d0486a",
      "old_mode": 33188,
      "old_path": "kernel/lockdep.c",
      "new_id": "accb40cdb12a4cd0c3d5fd880c706d986568557d",
      "new_mode": 33188,
      "new_path": "kernel/lockdep.c"
    }
  ]
}
