Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6265089imm; Mon, 23 Jul 2018 14:41:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdGjf9TUChps/WkaQVTJb6csZAR6WvbABIMRc7/rVonHRUOWhN8GLD+5FvfAB0WypfjrB81 X-Received: by 2002:a62:f610:: with SMTP id x16-v6mr15013711pfh.169.1532382068164; Mon, 23 Jul 2018 14:41:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532382068; cv=none; d=google.com; s=arc-20160816; b=wueARsuATGyA5SfAYQbTYgMPh4jixJMYgE+3rnP7DP8PQaod6cYeGV+C7WXJHWB6Tq JWB0lr4mT3gKx4DciGxWq2Beu/kufk2KV1lrgryrm4Q42dndMTBBmpwkLyLPUT9pU+6S kyeEd7m7BMs9yNnvjU5ZxScsnNL4DhSW/5NpIGaYpJqlPtCkxzY0NaQJ5EuFLcL5xytJ fv9J3CQfWYsmG1Nh5tPRB8muc29lH66xjiIf6mqY/Q9Klr8/Yy0M0EJllB9naWDmuKJA 0u743dHTVWoBy04Wzim7bWa31w9BJLt2Jg+xyCf9vmsj8470kmvE2Zas94l+QrFRDut+ 89qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=8FDskwpmSla9CJp78cSwPvcyGMeCAp5auc8Du6fRaXA=; b=WrbuHf742jbeGPdNPjoAz8/rTbGcFfAPDtlp3KpbTMTVbKTurUTuMjeJ1r5VVRibQu ExuEs48KTCU8KULscT9DKmsk0J7Hx3a539CFoVXpbEX9TFEtR0SUjqYyOZv0btCeIN8K n/7MajQe0GHyzaxk/E4Wfq47PW9J4ptW9Qsb6T7WK66ztIuO9aeLm7T/3y6WkC1KJCjz pHl07UHmwovShhzsB50HHiLtI6nQ6LVAnH5LEOdGBLSTJzifb3MQGJyTai63g2c9sQ3e mkdOigrafqnmFbzcEeBTiFqTb7FD1FMSFL6bmmEBFF0alEt639cWE3PXy2QghV/fVpZ2 30Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=aqqN8v7s; 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 h1-v6si9309492pll.416.2018.07.23.14.40.53; Mon, 23 Jul 2018 14:41:08 -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=pass header.i=@ziepe.ca header.s=google header.b=aqqN8v7s; 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 S2388224AbeGWWmH (ORCPT + 99 others); Mon, 23 Jul 2018 18:42:07 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:38489 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388151AbeGWWmH (ORCPT ); Mon, 23 Jul 2018 18:42:07 -0400 Received: by mail-wr1-f67.google.com with SMTP id v14-v6so2098646wro.5 for ; Mon, 23 Jul 2018 14:38:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=8FDskwpmSla9CJp78cSwPvcyGMeCAp5auc8Du6fRaXA=; b=aqqN8v7s+Ei9PYO5pAoZwCoWypgWUWCmmWoofST4afH+MvnvPhLSyjhDb8u415QtI5 3G5Q/OzLejlmuYJ24WSHUX9ME7mEtk6m0crReRC3l3CXLFPxKrSWQaskuLVQ7IWjhu0I 3Sehv9IPI1VaPOriWhP0ktQbReJea9DXOXPNbxJjz83R9HAYXoPcLfiFR8AMiENIhLsz B3ZpEKywCAcP4ffIirP0ZEI6LV9xNHvjVHh/CJouwntYjdJOCilXCkvbblZgSy30zdEs PcR6PxQPsioFlxMXQao5CJrV1/3PFfs1l3DgNGep3UhoxQyEdj2I4EH2Qkg/gpwaLuP5 fJIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=8FDskwpmSla9CJp78cSwPvcyGMeCAp5auc8Du6fRaXA=; b=GupmYSKkroyZ4nb5YtaFtJCmvkNbGjopyVD4lRj8JxGOaKpJqBq12Vscd2jJlcEkY9 inSCw5sZNgE79qFbdOZFr0Rj0ssbuOxBCPJXrR4BzOj703hsDQJGtQYLEfci9IwhqRx0 xBYRZ+dHUQ/BFycWFNr6BrFdBAdh60TSjr0sgceDBIpXq+tfLgaQh2WawTumxM0fSCeh DOTwWPklKz3oUEYbkvXvOxnWXvDahWDjmbLYvzxqUUadBm33S5Xvk8Jg5JkE5exrHDTQ AZWMT/rzP3FfvUaClCgOaY8VXdkutIB66fFsWZseYkFEsi2hrpPn/iHm5BUPSAgX+/Z5 n3Ig== X-Gm-Message-State: AOUpUlEyjShVRLMUP5cu1jGTmY7Pjgi4kDvsD5islJhA7kAb+C9DM4u5 fmadZWS2hEQLWXwAI4BhdS2f5g== X-Received: by 2002:adf:ae01:: with SMTP id x1-v6mr10234511wrc.45.1532381937662; Mon, 23 Jul 2018 14:38:57 -0700 (PDT) Received: from ziepe.ca (S010614cc2056d97f.ed.shawcable.net. [174.3.196.123]) by smtp.gmail.com with ESMTPSA id c124-v6sm11742352wma.47.2018.07.23.14.38.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Jul 2018 14:38:57 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.86_2) (envelope-from ) id 1fhiXb-0005mY-KH; Mon, 23 Jul 2018 15:38:51 -0600 Date: Mon, 23 Jul 2018 15:38:51 -0600 From: Jason Gunthorpe To: Jan Dakinevich Cc: Doug Ledford , Leon Romanovsky , Yuval Shaia , Alex Vesker , Erez Shitrit , Feras Daoud , Kees Cook , Evgenii Smirnov , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Denis Lunev , Konstantin Khorenko Subject: Re: [PATCH] IPoIB: use kvzalloc to allocate an array of bucket pointers Message-ID: <20180723213851.GA22162@ziepe.ca> References: <1531144263-24717-1-git-send-email-jan.dakinevich@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1531144263-24717-1-git-send-email-jan.dakinevich@virtuozzo.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 09, 2018 at 04:51:03PM +0300, Jan Dakinevich wrote: > This table by default takes 32KiB which is 3rd memory order. Meanwhile, > this memory is not aimed for DMA operation and could be safely allocated > by vmalloc. > > Signed-off-by: Jan Dakinevich > Reviewed-by: HÃ¥kon Bugge > --- > drivers/infiniband/ulp/ipoib/ipoib_main.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied to for-next, thanks Jason