commit | a145dd411eb28c83ee4bb68b66f62c326c0f764e | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@g5.osdl.org> | Wed Nov 30 09:35:19 2005 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Nov 30 09:35:19 2005 -0800 |
tree | d88745d3839f501e59cf9ada5274777af939aa2d | |
parent | f8e988436b9d83b20bc5cc378f1a8034816ae6a6 [diff] |
VM: add "vm_insert_page()" function 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>