aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2008-04-29 01:03:46 -0700
committerLinus Torvalds <[email protected]>2008-04-29 08:06:28 -0700
commit68ab3d883a2df13f4b93a923bae3a287cbee29d3 (patch)
tree7886f6ecd3b7e7fb1359b89ab94a3871af63ede4 /include
parent97a4feb4a78ae5cd130be7d546471a0779f1aa14 (diff)
relayfs: support larger relay buffer
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. [[email protected]: cleanup] Signed-off-by: Masami Hiramatsu <[email protected]> Cc: David Wilder <[email protected]> Reviewed-by: Tom Zanussi <[email protected]> Reviewed-by: Pekka Enberg <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions