Home
last modified time | relevance | path

Searched hist:"68 ab3d883a2df13f4b93a923bae3a287cbee29d3" (Results 1 – 1 of 1) sorted by relevance

/linux/kernel/
H A Drelay.cdiff 68ab3d883a2df13f4b93a923bae3a287cbee29d3 Tue Apr 29 10:03:46 CEST 2008 Masami Hiramatsu <mhiramat@redhat.com> 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.

[akpm@linux-foundation.org: cleanup]
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: David Wilder <dwilder@us.ibm.com>
Reviewed-by: Tom Zanussi <zanussi@comcast.net>
Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>