)]}'
{
  "commit": "8783e4c49ac242ee5f8f674d708062a05bb4b271",
  "tree": "935ea994e0bbf0d0c7502691395cf153d9c2d4a5",
  "parents": [
    "a09a04e64917907a64dbc8e91df4aae4702fe2ab"
  ],
  "author": {
    "name": "Mostafa Saleh",
    "email": "smostafa@google.com",
    "time": "Wed Jul 29 12:13:18 2026 +0000"
  },
  "committer": {
    "name": "Mostafa Saleh",
    "email": "smostafa@google.com",
    "time": "Thu Aug 06 08:42:57 2026 +0000"
  },
  "message": "arm64: mm: Set stack size from the kernel command line\n\nAllow changing the runtime stack size by passing the command line\nargument `kernel_thread_shift\u003d`. This allows the user to configure\nthe stack size down to the PAGE_SIZE to save memory. Note that memory\nwill be saved only for the newly created tasks.\n\nMemory is saved dynamically when a task is created. No memory changes\ntake effect at compile time.\nCONFIG_ARCH_HAS_VARIABLE_STACK_SIZE must be set to override the generic\nkernel_thread_shift, and this config does not affect the size of the\nstack itself.\n\nA lower bound on the kernel_thread_shift is placed at 13 corresponding\nto an 8K stack which is the minimum value for the stack to work on\narm64, an upper bound on kernel_thread_shift is placed at 14\ncorresponding to the default 16K stack size to make sure that the\nvmap_stack configuration does not try to get pages out of order.\n\nTesting on Android verified that the 8K stack size works and does not\nresult in a stack overflow.\n\nSigned-off-by: Mostafa Saleh \u003csmostafa@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1cc0f9f027bbc1085d18180b93a00d93dc6d44e6",
      "old_mode": 33188,
      "old_path": "arch/arm64/Kconfig",
      "new_id": "17411f60111f311b7e3580442ca1dd7c95e59677",
      "new_mode": 33188,
      "new_path": "arch/arm64/Kconfig"
    },
    {
      "type": "modify",
      "old_id": "bf4c0db78d8dc43ed8e4f00e13538f7589d11851",
      "old_mode": 33188,
      "old_path": "arch/arm64/include/asm/memory.h",
      "new_id": "2e38f3a4b6914bad736d51543ea200925608ead2",
      "new_mode": 33188,
      "new_path": "arch/arm64/include/asm/memory.h"
    },
    {
      "type": "modify",
      "old_id": "8c0aeb025066459a673da1e601917a8bd5909042",
      "old_mode": 33188,
      "old_path": "arch/arm64/kernel/entry.S",
      "new_id": "5f56c48673ed39f86e96172b26cd6e28c82d02fe",
      "new_mode": 33188,
      "new_path": "arch/arm64/kernel/entry.S"
    },
    {
      "type": "modify",
      "old_id": "23c05dc7a8f2ac4bbe6a3728fa93f9f2eca22dc4",
      "old_mode": 33188,
      "old_path": "arch/arm64/kernel/setup.c",
      "new_id": "f1a54a08223921a3c23aaa9a1796b83bd763c398",
      "new_mode": 33188,
      "new_path": "arch/arm64/kernel/setup.c"
    },
    {
      "type": "modify",
      "old_id": "91428201606989de7d9cc5eec538bd82144a1194",
      "old_mode": 33188,
      "old_path": "arch/arm64/kernel/traps.c",
      "new_id": "294fc3f8763a084cf2759dedc27dfca8bc22b810",
      "new_mode": 33188,
      "new_path": "arch/arm64/kernel/traps.c"
    }
  ]
}
