)]}'
{
  "commit": "08ece5bb2312b4510b161a6ef6682f37f4eac8a1",
  "tree": "d331f6b82ca8f0346afdf54bc793fb10c4bdaec8",
  "parents": [
    "47c542050d306e50f09512eb6339dbf2fc02fddd"
  ],
  "author": {
    "name": "Zoltan Kiss",
    "email": "zoltan.kiss@citrix.com",
    "time": "Thu Jan 23 21:23:44 2014 +0000"
  },
  "committer": {
    "name": "Konrad Rzeszutek Wilk",
    "email": "konrad.wilk@oracle.com",
    "time": "Fri Jan 31 09:48:32 2014 -0500"
  },
  "message": "xen/grant-table: Avoid m2p_override during mapping\n\nThe grant mapping API does m2p_override unnecessarily: only gntdev needs it,\nfor blkback and future netback patches it just cause a lock contention, as\nthose pages never go to userspace. Therefore this series does the following:\n- the original functions were renamed to __gnttab_[un]map_refs, with a new\n  parameter m2p_override\n- based on m2p_override either they follow the original behaviour, or just set\n  the private flag and call set_phys_to_machine\n- gnttab_[un]map_refs are now a wrapper to call __gnttab_[un]map_refs with\n  m2p_override false\n- a new function gnttab_[un]map_refs_userspace provides the old behaviour\n\nIt also removes a stray space from page.h and change ret to 0 if\nXENFEAT_auto_translated_physmap, as that is the only possible return value\nthere.\n\nv2:\n- move the storing of the old mfn in page-\u003eindex to gnttab_map_refs\n- move the function header update to a separate patch\n\nv3:\n- a new approach to retain old behaviour where it needed\n- squash the patches into one\n\nv4:\n- move out the common bits from m2p* functions, and pass pfn/mfn as parameter\n- clear page-\u003eprivate before doing anything with the page, so m2p_find_override\n  won\u0027t race with this\n\nv5:\n- change return value handling in __gnttab_[un]map_refs\n- remove a stray space in page.h\n- add detail why ret \u003d 0 now at some places\n\nv6:\n- don\u0027t pass pfn to m2p* functions, just get it locally\n\nSigned-off-by: Zoltan Kiss \u003czoltan.kiss@citrix.com\u003e\nSuggested-by: David Vrabel \u003cdavid.vrabel@citrix.com\u003e\nAcked-by: David Vrabel \u003cdavid.vrabel@citrix.com\u003e\nAcked-by: Stefano Stabellini \u003cstefano.stabellini@eu.citrix.com\u003e\nSigned-off-by: Konrad Rzeszutek Wilk \u003ckonrad.wilk@oracle.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3e276eb23d1bd7c315f055ecfcb551b0cd5ed1b8",
      "old_mode": 33188,
      "old_path": "arch/x86/include/asm/xen/page.h",
      "new_id": "787e1bb5aafcfb27b6579eeb56ba62cd2c3f1abe",
      "new_mode": 33188,
      "new_path": "arch/x86/include/asm/xen/page.h"
    },
    {
      "type": "modify",
      "old_id": "696c694986d0ab6aa967f3db7c6a345ef9c1ab59",
      "old_mode": 33188,
      "old_path": "arch/x86/xen/p2m.c",
      "new_id": "8009acbe41e4ca954470796b3ad4e1befd679fe2",
      "new_mode": 33188,
      "new_path": "arch/x86/xen/p2m.c"
    },
    {
      "type": "modify",
      "old_id": "6620b73d04906191132d771dade31f9e00043e07",
      "old_mode": 33188,
      "old_path": "drivers/block/xen-blkback/blkback.c",
      "new_id": "875025f299b6a31bcc10a081b9c9acfee9cfff62",
      "new_mode": 33188,
      "new_path": "drivers/block/xen-blkback/blkback.c"
    },
    {
      "type": "modify",
      "old_id": "073b4a19a8b0796bf320130201ec8e7e98f2cff4",
      "old_mode": 33188,
      "old_path": "drivers/xen/gntdev.c",
      "new_id": "34a2704fbc8856a6a112f9f41392adfd8f04c6bb",
      "new_mode": 33188,
      "new_path": "drivers/xen/gntdev.c"
    },
    {
      "type": "modify",
      "old_id": "b84e3ab839aa06650f98e39da40343f26644532d",
      "old_mode": 33188,
      "old_path": "drivers/xen/grant-table.c",
      "new_id": "8ee13e2e45e2f8a5a29bb91eba7af714027d254d",
      "new_mode": 33188,
      "new_path": "drivers/xen/grant-table.c"
    },
    {
      "type": "modify",
      "old_id": "a5af2a26d94f3f698072b3bf70a444bdb5da7978",
      "old_mode": 33188,
      "old_path": "include/xen/grant_table.h",
      "new_id": "7ad033dbc845eff5ce58a60dc69cf3f0bc77fe9f",
      "new_mode": 33188,
      "new_path": "include/xen/grant_table.h"
    }
  ]
}
