lkml.org 
[lkml]   [2012]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] module: avoid call vmalloc if init size is zero
On 01/27/2012 03:21 PM, Rusty Russell wrote:

> Please fix __vmalloc_node_range() instead to return ZERO_SIZE_PTR.
> And of course, vfree() to use ZERO_OR_NULL_PTR().

For the convenience and uniformity, should {alloc,free}_percpu() be
also modified in that way?

Dmitry


\
 
 \ /
  Last update: 2012-01-30 08:29    [W:0.028 / U:8.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site