Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1173575

Re: LIBCFS_ALLOC

From Dan Carpenter <dan.carpenter@oracle.com>
Newsgroups linux.kernel
Subject Re: LIBCFS_ALLOC
Date 2015-06-29 00:00 +0200
Message-ID <pGsMi-6r-5@gated-at.bofh.it> (permalink)
References <pDurf-4pO-5@gated-at.bofh.it> <pDuAW-4Dl-5@gated-at.bofh.it> <pErKF-5w7-15@gated-at.bofh.it> <pGeJk-5gs-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Yeah.  You're right.  Doing a vmalloc() when kmalloc() doesn't have even
a tiny sliver of RAM isn't going to work.  It's easier to use
libcfs_kvzalloc() everywhere, but it's probably the wrong thing.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: LIBCFS_ALLOC Dan Carpenter <dan.carpenter@oracle.com> - 2015-06-29 00:00 +0200

csiph-web