• L
    VM: add "vm_insert_page()" function · a145dd41
    Linus Torvalds 提交于
    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: NLinus Torvalds <torvalds@osdl.org>
    a145dd41
memory.c 64.6 KB