Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • I ipipe-x86
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Analytics
    • Analytics
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe-x86
  • Repository
  • ipipe-x86
  • fs
  • fuse
  • dev.c
Find file Blame History Permalink
  • Maxim Patlasov's avatar
    fuse: rework fuse_retrieve() · 4d53dc99
    Maxim Patlasov authored Oct 26, 2012
    
    
    The patch reworks fuse_retrieve() to allocate only so many page pointers
    as needed. The core part of the patch is the following calculation:
    
    	num_pages = (num + offset + PAGE_SIZE - 1) >> PAGE_SHIFT;
    
    (thanks Miklos for formula). All other changes are mostly shuffling lines.
    
    Signed-off-by: default avatarMaxim Patlasov <mpatlasov@parallels.com>
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
    4d53dc99

Imprint & Privacy Policy