Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753370AbbFWIav (ORCPT ); Tue, 23 Jun 2015 04:30:51 -0400 Received: from mga01.intel.com ([192.55.52.88]:16504 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751287AbbFWIap convert rfc822-to-8bit (ORCPT ); Tue, 23 Jun 2015 04:30:45 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,664,1427785200"; d="scan'208";a="732821291" From: "Drokin, Oleg" To: Julia Lawall CC: "Dilger, Andreas" , Greg Kroah-Hartman , "" , "" , "" Subject: Re: lustre: LIBCFS_ALLOC Thread-Topic: lustre: LIBCFS_ALLOC Thread-Index: AQHQrX02hDuC7pAa1Uej+eqBYc4ydJ26OAMA Date: Tue, 23 Jun 2015 08:30:13 +0000 Message-ID: <5ACF44E8-AB92-4343-88CA-C32DA6D6F6CE@intel.com> References: <4ED30946-5333-4684-9498-B734D991847A@intel.com> <18F4A875-0EF0-4566-BF2D-344B3617C83E@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.21.97] Content-Type: text/plain; charset="us-ascii" Content-ID: <35431E590B01414984375D49EC4BAD14@intel.com> Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 607 Lines: 15 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 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/