)]}'
{
  "commit": "57b150cce8e004ddd36330490a68bfb59b7271e9",
  "tree": "f337b08b6cd9bbe165c709a7e5159b0d6d779238",
  "parents": [
    "d5dedd4507d307eb3f35f21b6e16f336fdc0d82a"
  ],
  "author": {
    "name": "Yinghai Lu",
    "email": "yinghai@kernel.org",
    "time": "Mon Apr 27 17:59:53 2009 -0700"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Tue Apr 28 12:21:16 2009 +0200"
  },
  "message": "irq: only update affinity if -\u003eset_affinity() is sucessfull\n\nirq_set_affinity() and move_masked_irq() try to assign affinity\nbefore calling chip set_affinity(). Some archs are assigning it\nin -\u003eset_affinity() again.\n\nWe do something like:\n\n cpumask_cpy(desc-\u003eaffinity, mask);\n desc-\u003echip-\u003eset_affinity(mask);\n\nBut in the failure path, affinity should not be touched - otherwise\nwe\u0027ll end up with a different affinity mask despite the failure to\nmigrate the IRQ.\n\nSo try to update the afffinity only if set_affinity returns with 0.\nAlso call irq_set_thread_affinity accordingly.\n\nv2: update after \"irq, x86: Remove IRQ_DISABLED check in process context IRQ move\"\nv3: according to Ingo, change set_affinity() in irq_chip should return int.\nv4: update comments by removing moving irq_desc code.\n\n[ Impact: fix /proc/irq/*/smp_affinity setting corner case bug ]\n\nSigned-off-by: Yinghai Lu \u003cyinghai@kernel.org\u003e\nCc: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nCc: Suresh Siddha \u003csuresh.b.siddha@intel.com\u003e\nCc: \"Eric W. Biederman\" \u003cebiederm@xmission.com\u003e\nCc: Rusty Russell \u003crusty@rustcorp.com.au\u003e\nLKML-Reference: \u003c49F65509.60307@kernel.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "01ce20eab38fed96a7b5a861940ba58d47c18fbf",
      "old_mode": 33188,
      "old_path": "kernel/irq/internals.h",
      "new_id": "de5f412f6a921ed27ceea1b9ab680b85dc35854c",
      "new_mode": 33188,
      "new_path": "kernel/irq/internals.h"
    },
    {
      "type": "modify",
      "old_id": "2734eca59243bd8b0783b3553622363b2ce8129e",
      "old_mode": 33188,
      "old_path": "kernel/irq/manage.c",
      "new_id": "aaf5c9d05770378b42acc2d41905ceb543f1f280",
      "new_mode": 33188,
      "new_path": "kernel/irq/manage.c"
    },
    {
      "type": "modify",
      "old_id": "e05ad9be43b7a5fa7e6d6a24f94e49828a73572a",
      "old_mode": 33188,
      "old_path": "kernel/irq/migration.c",
      "new_id": "cfe767ca154501460f9f7e757c08d881611e9c95",
      "new_mode": 33188,
      "new_path": "kernel/irq/migration.c"
    }
  ]
}
