Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • kernel
  • relay.c
Find file BlameHistoryPermalink
  • Masami Hiramatsu's avatar
    relayfs: support larger relay buffer · 68ab3d88
    Masami Hiramatsu authored Apr 29, 2008
    
    
    Use vmalloc() and memset() instead of kcalloc() to allocate a page* array when
    the array size is bigger than one page.  This enables relayfs to support
    bigger relay buffers than 64MB on 4k-page system, 512MB on 16k-page system.
    
    [akpm@linux-foundation.org: cleanup]
    Signed-off-by: default avatarMasami Hiramatsu <mhiramat@redhat.com>
    Cc: David Wilder <dwilder@us.ibm.com>
    Reviewed-by: default avatarTom Zanussi <zanussi@comcast.net>
    Reviewed-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    68ab3d88
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7