Staging
v0.5.1
https://github.com/torvalds/linux
Revision a145dd411eb28c83ee4bb68b66f62c326c0f764e authored by Linus Torvalds on 30 November 2005, 17:35:19 UTC, committed by Linus Torvalds on 30 November 2005, 17:35:19 UTC
This is what a lot of drivers will actually want to use to insert
individual pages into a user VMA.  It doesn't have the old PageReserved
restrictions of remap_pfn_range(), and it doesn't complain about partial
remappings.

The page you insert needs to be a nice clean kernel allocation, so you
can't insert arbitrary page mappings with this, but that's not what
people want.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent f8e9884
History
Tip revision: a145dd411eb28c83ee4bb68b66f62c326c0f764e authored by Linus Torvalds on 30 November 2005, 17:35:19 UTC
VM: add "vm_insert_page()" function
Tip revision: a145dd4
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 391 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.5 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 63.4 KB
Makefile -rw-r--r-- 42.8 KB
README -rw-r--r-- 14.7 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top