)]}'
{
  "commit": "db7a347b26fe05d2e8c115bb24dfd908d0252bc3",
  "tree": "b123d99dbb6f6e783eaa1a9910d639fc82b57c4a",
  "parents": [
    "cab71f7495f7aa639ca4b8508f4c3e426e9cb2f7"
  ],
  "author": {
    "name": "SeongJae Park",
    "email": "sj@kernel.org",
    "time": "Fri Nov 19 16:43:49 2021 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Sat Nov 20 10:35:54 2021 -0800"
  },
  "message": "mm/damon/dbgfs: use \u0027__GFP_NOWARN\u0027 for user-specified size buffer allocation\n\nPatch series \"DAMON fixes\".\n\nThis patch (of 2):\n\nDAMON users can trigger below warning in \u0027__alloc_pages()\u0027 by invoking\nwrite() to some DAMON debugfs files with arbitrarily high count\nargument, because DAMON debugfs interface allocates some buffers based\non the user-specified \u0027count\u0027.\n\n        if (unlikely(order \u003e\u003d MAX_ORDER)) {\n                WARN_ON_ONCE(!(gfp \u0026 __GFP_NOWARN));\n                return NULL;\n        }\n\nBecause the DAMON debugfs interface code checks failure of the\n\u0027kmalloc()\u0027, this commit simply suppresses the warnings by adding\n\u0027__GFP_NOWARN\u0027 flag.\n\nLink: https://lkml.kernel.org/r/20211110145758.16558-1-sj@kernel.org\nLink: https://lkml.kernel.org/r/20211110145758.16558-2-sj@kernel.org\nFixes: 4bc05954d007 (\"mm/damon: implement a debugfs-based user space interface\")\nSigned-off-by: SeongJae Park \u003csj@kernel.org\u003e\nCc: \u003cstable@vger.kernel.org\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": "eccc14b3490132baef9169bbefc5f6349e10ea35",
      "old_mode": 33188,
      "old_path": "mm/damon/dbgfs.c",
      "new_id": "8ce1311ac5338267fd56134fb9e6b857f66ef43a",
      "new_mode": 33188,
      "new_path": "mm/damon/dbgfs.c"
    }
  ]
}
