Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [PATCH 3/6] lib/bucket_locks: use kvmalloc_array()

$
0
0
Linus Torvalds writes: (Summary) wrote:

[...]

gfp);

[...]

gfp);
gfp);
Side note: how about we just move that "gfpflags_allow_blocking()" into kvmalloc() instead, and make kvmalloc() generally usable? Now we have that really odd situation where kvmalloc() takes gfp flags, but to quote the comment:
to quote the comment:
* Any use of gfp flags outside of GFP_KERNEL should be consulted with mm people.
people.
and the code:
and the code:
         /*
          * vmalloc uses GFP_KERNEL for some internal allocations (e.g page
tables)
          * so the given set of flags has to be compatible.

Viewing all articles
Browse latest Browse all 1267

Trending Articles