Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-x86
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe-x86
  • Repository
Switch branch/tag
  • ipipe-x86
  • fs
  • fuse
  • dev.c
Find file BlameHistoryPermalink
  • 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