Re: lustre: LIBCFS_ALLOC

2015-06-23 Thread Drokin, Oleg

On Jun 23, 2015, at 2:23 AM, Julia Lawall wrote:

> It seems that libcfs_kvzalloc doesn't use any particular threshold or 
> switchingbetween kzalloc and vmalloc, so can be replaced by ths function 
> too?

If you mean to replace all instances of LIBCFS_ALLOC with libcfs_kvzalloc (and 
all frees with kvfree) then yes, that could be done I think.

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


lustre: LIBCFS_ALLOC

2015-06-23 Thread Julia Lawall
It seems that libcfs_kvzalloc doesn't use any particular threshold or 
switchingbetween kzalloc and vmalloc, so can be replaced by ths function 
too?

thanks,
julia
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at  http://www.tux.org/lkml/


lustre: LIBCFS_ALLOC

2015-06-23 Thread Julia Lawall
It seems that libcfs_kvzalloc doesn't use any particular threshold or 
switchingbetween kzalloc and vmalloc, so can be replaced by ths function 
too?

thanks,
julia
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
Please read the FAQ at  http://www.tux.org/lkml/


Re: lustre: LIBCFS_ALLOC

2015-06-23 Thread Drokin, Oleg

On Jun 23, 2015, at 2:23 AM, Julia Lawall wrote:

 It seems that libcfs_kvzalloc doesn't use any particular threshold or 
 switchingbetween kzalloc and vmalloc, so can be replaced by ths function 
 too?

If you mean to replace all instances of LIBCFS_ALLOC with libcfs_kvzalloc (and 
all frees with kvfree) then yes, that could be done I think.

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