fs/aio: Stop allocating aio rings from HIGHMEM
authorFabio M. De Francesco <fmdefrancesco@gmail.com>
Fri, 9 Jun 2023 14:59:37 +0000 (16:59 +0200)
committerChristian Brauner <brauner@kernel.org>
Thu, 15 Jun 2023 07:22:23 +0000 (09:22 +0200)
commit5c075c5b8fc4ebc34aac188be4eccc238521eb6f
tree0be185f4c1d4e58c6f650f551a6055e1b2fbabd5
parentb6334e2cd46f0dab1131c0272426182c79b51114
fs/aio: Stop allocating aio rings from HIGHMEM

There is no need to allocate aio rings from HIGHMEM because of very
little memory needed here.

Therefore, use GFP_USER flag in find_or_create_page() and get rid of
kmap*() mappings.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Ira Weiny <ira.weiny@intel.com>
Suggested-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Message-Id: <20230609145937.17610-1-fmdefrancesco@gmail.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/aio.c