linux-sg2042/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 vfs: add file_path() helper 2015-06-23 18:00:05 -04:00
extable.c
fault.c mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
highmem.c kmap_atomic_to_page() has no users, remove it 2015-11-09 15:11:24 -08:00
homecache.c tile: use %*pb[l] to print bitmaps including cpumasks and nodemasks 2015-02-13 21:21:37 -08:00
hugetlbpage.c tile: mm: use hugetlb_bad_size() 2016-05-19 19:12:14 -07:00
init.c mm: rename _count, field of the struct page, to _refcount 2016-05-19 19:12:14 -07:00
migrate.h arch/tile: use interrupt critical sections less 2012-05-25 12:48:20 -04:00
migrate_32.S tile: provide traceability for hypervisor calls 2013-08-13 16:26:31 -04:00
migrate_64.S tile: provide traceability for hypervisor calls 2013-08-13 16:26:31 -04:00
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