]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
kclient: try kmalloc, then vmalloc
authorSage Weil <sage@newdream.net>
Wed, 30 Sep 2009 18:43:31 +0000 (11:43 -0700)
committerSage Weil <sage@newdream.net>
Wed, 30 Sep 2009 18:43:31 +0000 (11:43 -0700)
commit4874b1901b8fc994bea7ea85c1a8c0dbaabd4009
treea47705331f4b9a30b6dde1126caea390219ea35c
parent86f225b52e5a2ee8c0d067292dfd4eadd7dbe70d
kclient: try kmalloc, then vmalloc

"A still-lame-but-less-lame option here would be to attempt the kmalloc
(with __GFP_NOWARN) and if it failed, fall back to vmalloc." says akpm
src/TODO
src/kernel/buffer.c