)]}'
{
  "commit": "24f8cfb6b28ee54b49ad1f29fc3dbec80f338877",
  "tree": "cb18bf8966232f22ca783f632ee395c0d1d43bd5",
  "parents": [
    "7660b74017b132d84c6bc22990b727854ef8d7c0"
  ],
  "author": {
    "name": "Vlastimil Babka",
    "email": "vbabka@suse.cz",
    "time": "Tue May 28 17:31:57 2024 +0200"
  },
  "committer": {
    "name": "Vlastimil Babka",
    "email": "vbabka@suse.cz",
    "time": "Thu May 30 14:26:07 2024 +0200"
  },
  "message": "mm, slab: add static key for should_failslab()\n\nSince commit 4f6923fbb352 (\"mm: make should_failslab always available for\nfault injection\") should_failslab() is unconditionally a noinline\nfunction. This adds visible overhead to the slab allocation hotpath,\neven if the function is empty. With CONFIG_FAILSLAB\u003dy there\u0027s additional\noverhead when the functionality is not enabled by a boot parameter or\ndebugfs.\n\nThe overhead can be eliminated with a static key around the callsite.\nFault injection and error injection frameworks can now be told that the\nthis function has a static key associated, and are able to enable and\ndisable it accordingly.\n\nSigned-off-by: Vlastimil Babka \u003cvbabka@suse.cz\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ffc420c0e767f097380e587cb833eb495a484d49",
      "old_mode": 33188,
      "old_path": "mm/failslab.c",
      "new_id": "878fd08e5dac52bd30182f459c973ea8d90030bd",
      "new_mode": 33188,
      "new_path": "mm/failslab.c"
    },
    {
      "type": "modify",
      "old_id": "5f8f47c5bee0a274c6c2df810b85b1e53681c370",
      "old_mode": 33188,
      "old_path": "mm/slab.h",
      "new_id": "792e19cb37b88172f65b5bc73f349abb2cc59f5c",
      "new_mode": 33188,
      "new_path": "mm/slab.h"
    },
    {
      "type": "modify",
      "old_id": "0809760cf789d11ee385f1f31da71635a455dd71",
      "old_mode": 33188,
      "old_path": "mm/slub.c",
      "new_id": "3bb579760a379ea97529a10dcb09522e72e81b77",
      "new_mode": 33188,
      "new_path": "mm/slub.c"
    }
  ]
}
