)]}'
{
  "commit": "c653b67d1863b7ebfa67f7c9f4aec209d7b5ced5",
  "tree": "accacdd8b9f096931719b551776f3f6caa78ce61",
  "parents": [
    "d9ce74873a6a5a7c504379857461e4ae64fcf0cd"
  ],
  "author": {
    "name": "Stefan Hajnoczi",
    "email": "stefanha@redhat.com",
    "time": "Tue Jun 10 13:36:39 2025 +0100"
  },
  "committer": {
    "name": "Stefan Hajnoczi",
    "email": "stefanha@redhat.com",
    "time": "Thu Jun 12 13:39:07 2025 -0400"
  },
  "message": "include/qemu/compiler: add QEMU_UNINITIALIZED attribute macro\n\nThe QEMU_UNINITIALIZED macro is to be used to skip the default compiler\nvariable initialization done by -ftrivial-auto-var-init\u003dzero.\n\nUse this in cases where there a method in the device I/O path (or other\nimportant hot paths), that has large variables on the stack. A rule of\nthumb is that \"large\" means a method with 4kb data in the local stack\nframe. Any variables which are KB in size, should be annotated with this\nattribute, to pre-emptively eliminate any potential overhead from the\ncompiler zero\u0027ing memory.\n\nGiven that this turns off a security hardening feature, when using this\nto flag variables, it is important that the code is double-checked to\nensure there is no possible use of uninitialized data in the method.\n\nSigned-off-by: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\nReviewed-by: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\nSigned-off-by: Daniel P. Berrangé \u003cberrange@redhat.com\u003e\nMessage-id: 20250610123709.835102-2-berrange@redhat.com\n[DB: split off patch \u0026 rewrite guidance on when to use the annotation]\nSigned-off-by: Daniel P. Berrangé \u003cberrange@redhat.com\u003e\nSigned-off-by: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "496dac5ac111309319c0289f9645c91d694ef374",
      "old_mode": 33188,
      "old_path": "include/qemu/compiler.h",
      "new_id": "65b89958d36fed4fd19f94e1164f90049a79ae60",
      "new_mode": 33188,
      "new_path": "include/qemu/compiler.h"
    }
  ]
}
