diff options
author | Uladzislau Rezki (Sony) <urezki@gmail.com> | 2019-05-14 15:41:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-14 19:52:48 -0700 |
commit | 4d36e6f8040486f5945a3ba8a741eafe9d1d023a (patch) | |
tree | 8bbef9ceeff9bcc1b2c0e7a659d055c5c442218f /mm/vmstat.c | |
parent | 68571be99f323c3c3db62a8513a43380ccefe97c (diff) | |
download | linux-stable-4d36e6f8040486f5945a3ba8a741eafe9d1d023a.tar.gz linux-stable-4d36e6f8040486f5945a3ba8a741eafe9d1d023a.tar.bz2 linux-stable-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 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions