diff options
author | Uladzislau Rezki (Sony) <urezki@gmail.com> | 2019-05-15 00:41:25 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-15 04:52:48 +0200 |
commit | 4d36e6f8040486f5945a3ba8a741eafe9d1d023a (patch) | |
tree | 8bbef9ceeff9bcc1b2c0e7a659d055c5c442218f /crypto | |
parent | mm/vmalloc.c: add priority threshold to __purge_vmap_area_lazy() (diff) | |
download | linux-4d36e6f8040486f5945a3ba8a741eafe9d1d023a.tar.xz linux-4d36e6f8040486f5945a3ba8a741eafe9d1d023a.zip |
mm/vmalloc.c: convert vmap_lazy_nr to atomic_long_t
vmap_lazy_nr variable has atomic_t type that is 4 bytes integer value on
both 32 and 64 bit systems. lazy_max_pages() deals with "unsigned long"
that is 8 bytes on 64 bit system, thus vmap_lazy_nr should be 8 bytes on
64 bit as well.
Link: http://lkml.kernel.org/r/20190131162452.25879-1-urezki@gmail.com
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Thomas Garnier <thgarnie@google.com>
Cc: Oleksiy Avramchenko <oleksiy.avramchenko@sonymobile.com>
Cc: Joel Fernandes <joelaf@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions