)]}'
{
  "commit": "8f05a6a65d944f2fed4eb384fb58aa8c8e5a9bab",
  "tree": "433e2bc9f937778376a9b38e3d9816862292bb51",
  "parents": [
    "d4b95f80399471e4bce5e992700ff7f06ef91f6a"
  ],
  "author": {
    "name": "Tejun Heo",
    "email": "tj@kernel.org",
    "time": "Sat Jul 04 08:10:59 2009 +0900"
  },
  "committer": {
    "name": "Tejun Heo",
    "email": "tj@kernel.org",
    "time": "Sat Jul 04 08:10:59 2009 +0900"
  },
  "message": "percpu: make 4k first chunk allocator map memory\n\nAt first, percpu first chunk was always setup page-by-page by the\ngeneric code.  To add other allocators, different parts of the generic\ninitialization was made optional.  Now we have three allocators -\nembed, remap and 4k.  embed and remap fully handle allocation and\nmapping of the first chunk while 4k still depends on generic code for\nthose.  This makes the generic alloc/map paths specifci to 4k and\nmakes the code unnecessary complicated with optional generic\nbehaviors.\n\nThis patch makes the 4k allocator to allocate and map memory directly\ninstead of depending on the generic code.  The only outside visible\nchange is that now dynamic area in the first chunk is allocated\nup-front instead of on-demand.  This doesn\u0027t make any meaningful\ndifference as the area is minimal (usually less than a page, just\nenough to fill the alignment) on 4k allocator.  Plus, dynamic area in\nthe first chunk usually gets fully used anyway.\n\nThis will allow simplification of pcpu_setpu_first_chunk() and removal\nof chunk-\u003epage array.\n\n[ Impact: no outside visible change other than up-front allocation of dyn area ]\n\nSigned-off-by: Tejun Heo \u003ctj@kernel.org\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "27b0f40a3ea8aa3ff1b8120b4db43639604930ed",
      "old_mode": 33188,
      "old_path": "mm/percpu.c",
      "new_id": "f3fe7bc7378f4086ec08452ae5715ef9a575c0a8",
      "new_mode": 33188,
      "new_path": "mm/percpu.c"
    }
  ]
}
