)]}'
{
  "commit": "a3b51e0142d1be156ac697eaadadd6cfbb7ba32b",
  "tree": "da9e527316f112c09f0bc16553c64e3c87125c82",
  "parents": [
    "1b27d05b6e21249d2338be26dfcbe8f8d8ff8a5b"
  ],
  "author": {
    "name": "David Rientjes",
    "email": "rientjes@google.com",
    "time": "Mon Apr 28 02:12:23 2008 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Mon Apr 28 08:58:19 2008 -0700"
  },
  "message": "mempolicy: convert MPOL constants to enum\n\nThe mempolicy mode constants, MPOL_DEFAULT, MPOL_PREFERRED, MPOL_BIND, and\nMPOL_INTERLEAVE, are better declared as part of an enum since they are\nsequentially numbered and cannot be combined.\n\nThe policy member of struct mempolicy is also converted from type short to\ntype unsigned short.  A negative policy does not have any legitimate meaning,\nso it is possible to change its type in preparation for adding optional mode\nflags later.\n\nThe equivalent member of struct shmem_sb_info is also changed from int to\nunsigned short.\n\nFor compatibility, the policy formal to get_mempolicy() remains as a pointer\nto an int:\n\n\tint get_mempolicy(int *policy, unsigned long *nmask,\n\t\t\t  unsigned long maxnode, unsigned long addr,\n\t\t\t  unsigned long flags);\n\nalthough the only possible values is the range of type unsigned short.\n\nCc: Paul Jackson \u003cpj@sgi.com\u003e\nCc: Christoph Lameter \u003cclameter@sgi.com\u003e\nCc: Lee Schermerhorn \u003cLee.Schermerhorn@hp.com\u003e\nCc: Andi Kleen \u003cak@suse.de\u003e\nSigned-off-by: David Rientjes \u003crientjes@google.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b8b3da7a3315b1616d0c48429112663b57c8d660",
      "old_mode": 33188,
      "old_path": "include/linux/mempolicy.h",
      "new_id": "389a06e8ee211cf4b745dd533d04be53402da62c",
      "new_mode": 33188,
      "new_path": "include/linux/mempolicy.h"
    },
    {
      "type": "modify",
      "old_id": "8d5fb36ea04741488c7233c6f9171075117f9a65",
      "old_mode": 33188,
      "old_path": "include/linux/shmem_fs.h",
      "new_id": "639a4070708e85455ab23e5a9e60c4403c81ce25",
      "new_mode": 33188,
      "new_path": "include/linux/shmem_fs.h"
    },
    {
      "type": "modify",
      "old_id": "acb5ee3587c30a8c95310b41dc945bae2c43dc65",
      "old_mode": 33188,
      "old_path": "mm/mempolicy.c",
      "new_id": "1311dc4a3888b8128022c017635324a1698c1fd3",
      "new_mode": 33188,
      "new_path": "mm/mempolicy.c"
    },
    {
      "type": "modify",
      "old_id": "f514dd392cd93570e108ba5a489a28975d85034a",
      "old_mode": 33188,
      "old_path": "mm/shmem.c",
      "new_id": "d8ef7ba831a53f750f7ac381d407e3a1f8b7594f",
      "new_mode": 33188,
      "new_path": "mm/shmem.c"
    }
  ]
}
