Skip to content
  • Al Viro's avatar
    fix a kmap leak in virtio_console · c9efe511
    Al Viro authored
    
    
    While we are at it, don't do kmap() under kmap_atomic(), *especially*
    for a page we'd allocated with GFP_KERNEL.  It's spelled "page_address",
    and had that been more than that, we'd have a real trouble - kmap_high()
    can block, and doing that while holding kmap_atomic() is a Bad Idea(tm).
    
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    c9efe511