OpenCloudOS-Kernel/arch/tile
Linus Torvalds 6be5ceb02e VM: add "vm_mmap()" helper function
This continues the theme started with vm_brk() and vm_munmap():
vm_mmap() does the same thing as do_mmap(), but additionally does the
required VM locking.

This uninlines (and rewrites it to be clearer) do_mmap(), which sadly
duplicates it in mm/mmap.c and mm/nommu.c.  But that way we don't have
to export our internal do_mmap_pgoff() function.

Some day we hopefully don't have to export do_mmap() either, if all
modular users can become the simpler vm_mmap() instead.  We're actually
very close to that already, with the notable exception of the (broken)
use in i810, and a couple of stragglers in binfmt_elf.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-04-20 17:29:13 -07:00
..
configs arch/tile/configs: convert to minimal configs via "make savedefconfig" 2012-03-14 14:33:16 -04:00
include arch/tile: use atomic exchange in arch_write_unlock() 2012-04-02 12:13:49 -04:00
kernel VM: add "vm_mmap()" helper function 2012-04-20 17:29:13 -07:00
kvm virtio: expose for non-virtualization users too 2011-07-23 16:20:30 +09:30
lib arch/tile: fix finv_buffer_remote() for tilegx 2012-04-02 12:13:53 -04:00
mm arch/tile: remove bogus performance optimization 2012-04-02 12:13:59 -04:00
Kbuild arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00
Kconfig arch/tile/Kconfig: don't specify CONFIG_PAGE_OFFSET for 64-bit builds 2012-04-02 12:00:14 -04:00
Kconfig.debug lib: consolidate DEBUG_STACK_USAGE option 2011-05-25 08:39:54 -07:00
Makefile arch/tile: stop mentioning the "kvm" subdirectory 2012-04-02 12:13:46 -04:00