linux/arch/tile/mm
Jason Cooper 09fddbaf90 tile: use simpler API for random address requests
Currently, all callers to randomize_range() set the length to 0 and
calculate end by adding a constant to the start address.  We can simplify
the API to remove a bunch of needless checks and variables.

Use the new randomize_addr(start, range) call to set the requested
address.

Link: http://lkml.kernel.org/r/20160803233913.32511-6-jason@lakedaemon.net
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Chris Metcalf <cmetcalf@mellanox.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-10-11 15:06:32 -07:00
..
Makefile
elf.c
extable.c
fault.c
highmem.c
homecache.c
hugetlbpage.c
init.c
migrate.h
migrate_32.S
migrate_64.S
mmap.c tile: use simpler API for random address requests 2016-10-11 15:06:32 -07:00
pgtable.c mm: move most file-based accounting to the node 2016-07-28 16:07:41 -07:00