Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1804944imm; Tue, 10 Jul 2018 08:10:18 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfaDU89yqVzt+OP7vtZV4rbc2gOUv6Tl/4KiiFaUF9Bv/hq4+MSnPirdtIR3BlOQ97m+sFw X-Received: by 2002:a17:902:7798:: with SMTP id o24-v6mr25617813pll.165.1531235418856; Tue, 10 Jul 2018 08:10:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531235418; cv=none; d=google.com; s=arc-20160816; b=pujGGqCv27CeyDtyQE4/vwjGOAZbBfr5FN1Leph+Y30rybCrPUmDZMKiEQv0yMiJYF JjM6q145d0u/G+5DQEnnUyHZMe6ObA9qghzyrgvMDUimBJtPk3BfRQngdtOtM0pXeYrO Wbz2QucI0MERY1AhHnjz6Zgfo/u2ATG2wVyureL2gfgzttLurRXy6/r7t2DsE7Sf5QXu OoRHKyaryTBuhOZCv/UwRuR1vKTBjpwEOuyjMTOLIq5XucSnhZjfbU5N6z0eQttB/q41 /bUCgVw8eKcdKIYWH2rz1LCD3Yk1vnBM0SUZGhLYYLM5OULZv3Ci84EQOVRQP3VbvUuy BBnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :wdcipoutbound:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:dkim-signature:arc-authentication-results; bh=U9wbtMFGujBUPncWClyTTs2PUuLk693IeSGxemaAaYI=; b=LU6aQqYeYxFoL8AMxHsNio7hLWAFikTxCNOXUZi+FYKL2L+YQdyQ7PsPpx/hy1lo6N JWcbWjm0Va3TNMTNBGtoP1GPcs9mDEReOjxwk5wux12agTQHaUasVTdqHIyTvAcoFcat a5RBUgBcTRWH7MJvEmlS1lGFedC66nJX2SQFh03CVQBg99pOayJtMnHVMZClL55WjSZT npBuWca4TnKwLh8lx2dObw4LGgx+VqauXMRzjTq7f+E++1uOvS1/vnkpfJaEHnE3hxG7 XlIgPiXXq5YqRxW9QhQFGhKSAF5MbpqQHxp0Yp2cHNJTwCYdFBVh4wMS7DfPXcDPLcLH g7TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=d+nVdvAc; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=n5E1nBzo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z64-v6si16574514pgb.79.2018.07.10.08.10.03; Tue, 10 Jul 2018 08:10:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=d+nVdvAc; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=n5E1nBzo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933731AbeGJPJF (ORCPT + 99 others); Tue, 10 Jul 2018 11:09:05 -0400 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:58087 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754260AbeGJPJE (ORCPT ); Tue, 10 Jul 2018 11:09:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1531235343; x=1562771343; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=U9wbtMFGujBUPncWClyTTs2PUuLk693IeSGxemaAaYI=; b=d+nVdvAcGY0aXx1lpE/5xr75N0gouYIxWZuWRFqbI07bx8cvdhuVLQ9U 7j1qlkGPSFZlOibFWCUCnjf+gRAWFf2pXwQi49sggPTZFWyEDmqGEpLyX UHNFwJaRVdW43H5WyBE/oPyr5L8MzNPZBIVhahhM2TvJL2lT4e8TLe4RO N5fubRwv2dmoXAh/uBSk739TltkJGl+TxAI4lGBHNG3AyGZvm8UqVH/tP 9t/eKnwcBN6zP8xSOIk4dEu/DJtVWoTI46iWPrnG9UbE8kSdohjqNcuzQ Gk7QKTpVQS9QpQ782OVlIu2UW79l8yuIsqFFBXjvGopz/MPZbPKqn8T3P A==; X-IronPort-AV: E=Sophos;i="5.51,335,1526313600"; d="scan'208";a="187140468" Received: from mail-co1nam05lp0088.outbound.protection.outlook.com (HELO NAM05-CO1-obe.outbound.protection.outlook.com) ([216.32.181.88]) by ob1.hgst.iphmx.com with ESMTP; 10 Jul 2018 23:08:41 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=U9wbtMFGujBUPncWClyTTs2PUuLk693IeSGxemaAaYI=; b=n5E1nBzonSubhzEBjCuilfo72PaES3ZXbMX0T6BAiNkCaa8mIzid4B6a2RiwTmL80QBp1OSmwv2OI8QZEW087QGSquLOWJGge/L3/eb6rpQ4A855LK0FYmhu549l4bkjda7vxQh9zMgCNqNO+lqarEgaDcGfnXdShdi/9syi6Z8= Received: from MWHPR04MB1198.namprd04.prod.outlook.com (10.173.48.151) by MWHPR04MB3744.namprd04.prod.outlook.com (10.172.169.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.21; Tue, 10 Jul 2018 15:08:39 +0000 Received: from MWHPR04MB1198.namprd04.prod.outlook.com ([fe80::a134:ec95:a6c0:7c44]) by MWHPR04MB1198.namprd04.prod.outlook.com ([fe80::a134:ec95:a6c0:7c44%4]) with mapi id 15.20.0930.022; Tue, 10 Jul 2018 15:08:39 +0000 From: Bart Van Assche To: "leon@kernel.org" , "jan.dakinevich@virtuozzo.com" CC: "linux-kernel@vger.kernel.org" , "den@virtuozzo.com" , "jgg@ziepe.ca" , "linux-rdma@vger.kernel.org" , "dledford@redhat.com" , "khorenko@virtuozzo.com" Subject: Re: [PATCH] ib_srpt: use kvmalloc to allocate ring pointers Thread-Topic: [PATCH] ib_srpt: use kvmalloc to allocate ring pointers Thread-Index: AQHUF4vtgYRvGL8p4EG6k4CNcrQ9GaSH8bcAgACe8oA= Date: Tue, 10 Jul 2018 15:08:38 +0000 Message-ID: <5196ea6e33825dd5fde58d23b38630afafcb77f1.camel@wdc.com> References: <1531144268-25361-1-git-send-email-jan.dakinevich@virtuozzo.com> <20180710053944.GN3014@mtr-leonro.mtl.com> In-Reply-To: <20180710053944.GN3014@mtr-leonro.mtl.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bart.VanAssche@wdc.com; x-originating-ip: [199.255.44.174] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MWHPR04MB3744;7:8RGyx6g3tgImJZFqsz4XxiGUn64lx/p+MuLxdGr+huR4OFkSgWM5z9sub6UbYempodOdDWa+bkujR12CB92FwFiuNcioipAsvkNYNWeAP2+gOiMXy7uS/kq8alYj3gCZPCV3zSePul7kt0JkdcLDVLSE31LazEn6xYiOhF5D1GSpXsH8au/uPEfar3qe1Q1tPvvYOrNpRtpkWX67j0txzyfP9nPNCaLHaxlZmaMP2W5BuYlpBDGcNSbFlZH8dSR7;20:M1AHDE1VfQ0UQeTjdquiioUKBC1I3p2GRkmYKvAyxU/it7JsAELAIO+R9vZ4A2rbr+jYuSCDnqPe/JRY/eK6xITTtbnohqyoU2HdPdVggR3KdxBUUWKppENfZyJuE06b9sIgbIURusSzJN7C+zA1FoYVIIPSs4ct+cP74y7SAWI= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: b01c4410-62e3-492c-bbe8-08d5e6770464 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(48565401081)(2017052603328)(7153060)(7193020);SRVR:MWHPR04MB3744; x-ms-traffictypediagnostic: MWHPR04MB3744: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(3231311)(944501410)(52105095)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:MWHPR04MB3744;BCL:0;PCL:0;RULEID:;SRVR:MWHPR04MB3744; x-forefront-prvs: 0729050452 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(39860400002)(376002)(366004)(346002)(136003)(189003)(199004)(106356001)(6116002)(105586002)(186003)(305945005)(99286004)(36756003)(256004)(11346002)(446003)(7736002)(66066001)(486006)(3846002)(53936002)(476003)(6506007)(2906002)(2616005)(6486002)(5660300001)(6436002)(2900100001)(25786009)(2501003)(14454004)(5250100002)(229853002)(86362001)(72206003)(68736007)(81166006)(81156014)(97736004)(110136005)(54906003)(26005)(8936002)(6512007)(76176011)(8676002)(102836004)(4326008)(6246003)(118296001)(316002)(478600001);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR04MB3744;H:MWHPR04MB1198.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-microsoft-antispam-message-info: iShTzdSCzsyqWKbkRmQU06HNP2GtZEqsXG0iUz6Pj+vdiXABXHPHxK1BOC0/SEi43K95gAlWsNuzGeyeUZ6NX8WzaQTQ556EfrN2/P+I0YAiR2k2NgEhYVWV3EOiEJTxONRbyOGV0qhQ+/h4XMUPcf1xjmFpy8rziDXlC1qj7Wc6X+RRj5qCdTOMFrVAZqJGyzH3fvWQ7Rrj61d4zs15YOHXSGlUV12hQmSQ2fI0S7gpuz2Cla4Q5FmWVniy4z2AkiVYaEri5iOVGrsNv6/zm9o9UU/dXcbKkkGnV1+mZfuLaMZh4h+KwLydBU57eQ3w9qPx6aUb0i1pTF/mn13lKNHP04vrfc0SykZd/kniyYw= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <5319023AC802C94C93A502B3B54131CA@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: b01c4410-62e3-492c-bbe8-08d5e6770464 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jul 2018 15:08:39.0309 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR04MB3744 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDE4LTA3LTEwIGF0IDA4OjM5ICswMzAwLCBMZW9uIFJvbWFub3Zza3kgd3JvdGU6 DQo+IE9uIE1vbiwgSnVsIDA5LCAyMDE4IGF0IDA0OjUxOjA4UE0gKzAzMDAsIEphbiBEYWtpbmV2 aWNoIHdyb3RlOg0KPiA+IEFuIGFycmF5IG9mIH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