Quantcast
Channel: lkml.org : Pallipadi, Venkatesh
Viewing all articles
Browse latest Browse all 864

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

$
0
0
Linus Torvalds writes: (Summary) It basically says "this function is garbage, so let me warn about the fact that I'm a moron". And the *ONLY* thing that warning has ever caused is just stupid code that does if (flags == GFP_KERNEL) .. All the code that modifies the gfp_flags with the intention of falling back on vmalloc() is just wrong, since we're not falling back on vmalloc any more. - otherwise, we do what we used to do (except now the warning is gone, because we already handled the case it warned about).

Viewing all articles
Browse latest Browse all 864

Trending Articles