)]}'
{
  "commit": "1e19ffc63dbbaea7a7d1c63d99c38d3e5a4c7edf",
  "tree": "357690d6017682a4a21824f7d3f34a83406a136d",
  "parents": [
    "affee4b294a0fc97d67c8a77dc080c4dd262a79e"
  ],
  "author": {
    "name": "Tejun Heo",
    "email": "tj@kernel.org",
    "time": "Tue Jun 29 10:07:12 2010 +0200"
  },
  "committer": {
    "name": "Tejun Heo",
    "email": "tj@kernel.org",
    "time": "Tue Jun 29 10:07:12 2010 +0200"
  },
  "message": "workqueue: implement per-cwq active work limit\n\nAdd cwq-\u003enr_active, cwq-\u003emax_active and cwq-\u003edelayed_work.  nr_active\ncounts the number of active works per cwq.  A work is active if it\u0027s\nflushable (colored) and is on cwq\u0027s worklist.  If nr_active reaches\nmax_active, new works are queued on cwq-\u003edelayed_work and activated\nlater as works on the cwq complete and decrement nr_active.\n\ncwq-\u003emax_active can be specified via the new @max_active parameter to\n__create_workqueue() and is set to 1 for all workqueues for now.  As\neach cwq has only single worker now, this double queueing doesn\u0027t\ncause any behavior difference visible to its users.\n\nThis will be used to reimplement freeze/thaw and implement shared\nworker pool.\n\nSigned-off-by: Tejun Heo \u003ctj@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4f4fdba722c39b3192f972340c6f293ab607013a",
      "old_mode": 33188,
      "old_path": "include/linux/workqueue.h",
      "new_id": "eb753b7790e569addee1e76645a64ddef857a8d6",
      "new_mode": 33188,
      "new_path": "include/linux/workqueue.h"
    },
    {
      "type": "modify",
      "old_id": "9953d3c7bd1077ee28f484a89f12c2c6305ccc59",
      "old_mode": 33188,
      "old_path": "kernel/workqueue.c",
      "new_id": "e541b5db67dd5f29eb9939372621aa666eb27548",
      "new_mode": 33188,
      "new_path": "kernel/workqueue.c"
    }
  ]
}
