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
..
2012-04-20 11:19:35 -07:00
2012-04-13 14:04:08 +01:00
2012-04-18 14:33:25 -04:00
2012-03-28 18:30:03 +01:00
2012-04-09 14:54:22 -07:00
2012-04-10 14:13:30 -04:00
2012-04-20 11:31:00 -07:00
2012-04-09 15:47:49 -04:00
2012-04-12 15:36:33 -07:00
2012-03-19 09:37:11 +00:00
2012-04-12 00:05:05 +02:00
2012-04-13 17:57:40 -07:00
2012-04-06 21:48:59 -04:00
2012-04-09 15:13:40 +08:00
2012-03-27 16:03:32 -07:00
2012-04-10 15:30:16 -07:00
2012-04-06 17:56:20 -07:00
2012-03-28 18:30:03 +01:00
2012-04-10 22:15:39 -06:00
2012-04-20 17:29:13 -07:00
2012-04-20 10:39:33 -07:00
2012-04-18 11:15:50 -07:00
2012-04-10 08:09:03 -07:00
2012-03-28 18:30:03 +01:00
2012-04-05 15:25:50 -07:00
2012-04-12 18:51:32 -07:00
2012-04-12 12:49:07 -07:00
2012-04-05 15:30:34 -07:00
2012-04-12 15:36:33 -07:00
2012-03-28 13:56:35 -07:00
2012-03-28 18:30:03 +01:00
2012-04-12 16:05:06 +10:00
2012-04-11 11:05:34 -07:00
2012-03-20 21:48:19 +08:00
2012-03-28 15:58:21 -07:00
2012-04-13 14:04:08 +01:00
2012-04-05 15:30:34 -07:00
2012-04-05 20:32:34 -04:00
2012-04-09 01:38:55 -04:00
2012-04-12 14:04:33 -07:00
2012-03-28 18:30:03 +01:00
2012-04-10 14:20:56 -06:00
2012-04-05 15:25:50 -07:00
2012-03-28 15:58:21 -07:00
2012-04-16 18:33:35 -07:00
2012-03-29 16:00:48 -07:00
2012-04-11 09:31:02 +02:00
2012-03-30 16:45:39 -07:00
2012-03-30 16:45:39 -07:00
2012-03-30 16:09:02 -07:00
2012-04-10 10:26:41 -07:00
2012-04-05 15:25:50 -07:00
2012-04-12 13:12:12 -07:00
2012-04-11 14:28:24 +02:00
2012-03-28 18:30:03 +01:00
2012-04-15 11:08:53 -07:00
2012-03-30 00:09:17 -07:00
2012-04-15 17:35:19 -07:00
2012-03-20 21:04:47 -07:00
2012-04-12 15:35:12 -07:00
2012-04-06 18:57:05 -07:00
2012-03-22 01:10:18 -04:00
2012-04-19 19:15:35 -07:00
2012-04-20 08:44:24 -07:00
2012-04-18 13:15:51 -07:00
2012-04-12 10:35:42 +03:00
2012-04-15 11:14:54 -07:00
2012-04-15 11:51:06 +03:00
2012-03-29 18:02:10 -07:00
2012-04-19 15:12:49 -04:00
2012-04-02 09:50:40 -07:00
2012-04-02 09:50:40 -07:00