)]}'
{
  "commit": "a09a04e64917907a64dbc8e91df4aae4702fe2ab",
  "tree": "be6b8a8de909d861b7225ba7c7c87756546255d0",
  "parents": [
    "e7a4dea3d59fbde9fe00f6e78cebd6613d0420e1"
  ],
  "author": {
    "name": "Mostafa Saleh",
    "email": "smostafa@google.com",
    "time": "Wed Jul 29 11:40:38 2026 +0000"
  },
  "committer": {
    "name": "Mostafa Saleh",
    "email": "smostafa@google.com",
    "time": "Thu Aug 06 08:42:57 2026 +0000"
  },
  "message": "fork: Implement partial VMAP stack allocation\n\nWhen CONFIG_ARCH_HAS_VARIABLE_STACK_SIZE is enabled, architectures can\nallocate a VMAP stack that is smaller than the full THREAD_SIZE.\n\nThis introduces a weak abstraction vm_stack_pages() which defaults to\nTHREAD_SIZE / PAGE_SIZE. During stack allocation, the kernel will map\nonly the requested number of pages at the top of the THREAD_SIZE virtual\narea (as the stack grows down), leaving the bottom unmapped. This saves\nmemory while retaining the same virtual alignment and guard page overflow\ndetection characteristics.\n\nSigned-off-by: Pasha Tatashin \u003cpasha.tatashin@soleen.com\u003e\n[Rebased, used vm_area-\u003enr_pages directly in one instance]\n[Depends on !PREEMPT_RT]\nSigned-off-by: Linus Walleij \u003clinus.walleij@linaro.org\u003e\n[Fix races around accounting]\n[Use GFP_ATOMIC when executing in the scheduler]\n[Depend on INIT_STACK_ALL_* config]\n[Fix bugs in some error paths and edge cases]\n[Don\u0027t cache partially faulted stacks]\n[Added out-var to tell if address is on target stack]\nSigned-off-by: David Stevens \u003cstevensd@google.com\u003e\n[Remove dynamic stack related code, and update commit message]\n[Fix memory leak in error path of alloc_vmap_stack()]\n[Reset kasan tag for the stack vaddr when mapping it]\nSigned-off-by: Mostafa Saleh \u003csmostafa@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ef46c9c4aa4a8d4bc5fcb1fb21b4165ab82022a4",
      "old_mode": 33188,
      "old_path": "kernel/fork.c",
      "new_id": "37cf7795b98a734868b2163ef6fec10f90165ab0",
      "new_mode": 33188,
      "new_path": "kernel/fork.c"
    }
  ]
}
