Messages in this thread | | | Date | Thu, 21 Jan 2021 08:08:35 +0100 | From | Christoph Hellwig <> | Subject | Re: [PATCH] mm/vmalloc: Separate put pages and flush VM flags |
| |
On Wed, Jan 20, 2021 at 05:41:18PM -0800, Rick Edgecombe wrote: > When VM_MAP_PUT_PAGES was added, it was defined with the same value as > VM_FLUSH_RESET_PERMS. This doesn't seem like it will cause any big > functional problems other than some excess flushing for VM_MAP_PUT_PAGES > allocations. > > Redefine VM_MAP_PUT_PAGES to have its own value. Also, move the comment > and remove whitespace for VM_KASAN such that the flags lower down are less > likely to be missed in the future. > > Fixes: b944afc9d64d ("mm: add a VM_MAP_PUT_PAGES flag for vmap") > Signed-off-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Ooops. Looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
| |