• Alexander Viro's avatar
    [PATCH] Avoid /proc/{ioports,iomem} truncation · ab4a802e
    Alexander Viro authored
    The current seq_file code for resource handling will truncate the output
    if it overflows the seq_file buffer (one page).  That's because it tries
    to traverse the resource tree in one big blob.
    
    So change that to instead traverse the resource tree one entry at a time
    and have a real iterator, and clean it up a bit.
    ab4a802e
resource.c 8.11 KB