Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1313833imm; Wed, 11 Jul 2018 22:57:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd5WKz0aoYERMxb05MNP7s6t9fDxiWSLbU0ves0UY8OleX/q+aAzHe26urEtIGjet2ieM8T X-Received: by 2002:a17:902:6a89:: with SMTP id n9-v6mr851959plk.302.1531375029718; Wed, 11 Jul 2018 22:57:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531375029; cv=none; d=google.com; s=arc-20160816; b=ky3GO2hmCApFvukzno7J7xds/Kp3lI8cW611jualvBEkgOEHSYoSoejuomHLyctpj0 vP2uHgSmXFFqNvE8E+/2FqwxdYU5en344BQ1mfvS4qd5WvTrK9zuZxLxYXxgod7bVWPZ L+2lU/xO2eceU0fHfXo8CONA704Lsv19lZ127ZXA0YzIWuHTjcWOrOI094C+J3OR9mnW StURiNvaRBn9sLoZNWNDON887jB8F4dBrRqpKZnLTfegNiG8dQAXeN7pYCKvOTV7grKW v1az/KWpZ2sn9ehPyiNMht4+d+Fygzku1YDpjbZvHx01U1I+/QI+9ou42uG/V8U2B8Et AflQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=SWiFZRP1n3ny79hw5tiLy7R3tbEhCp1pokguyr0rIk8=; b=ciay+8lk1cpKMVVwvOjfof4WWkBgxV5wxPe/DBPwpMAKEFc7QGovKNENPXEZbOtR+T 6Y16W41NMUUl9hSqjkJbPwMnWKhoarnOIkeEUgc5vQpPCaCyHDXDW5KVPHV6JPn3wa1u VCAJ1Z9+T9Y8lPQWMXVydDb96Zw8BMccsKwWNvA2dntCXxiEaThUkJHjLOkKWCwu/8T2 oaMlZwu2V6QeI5C+iwe//hJq8d+Twn6s8LRdBsVk7MbGjMkFNlooyoi/GVowvJxSzDRe UqMrL2XcgKQTTjb+ONbzvgC4COUR/JROs55GXwNAtGh758nDsunTSkhNAuSn6DGTaD8k JuwA== ARC-Authentication-Results: i=1; mx.google.com; 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 a16-v6si8635706pgw.389.2018.07.11.22.56.54; Wed, 11 Jul 2018 22:57:09 -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; 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 S1726710AbeGLGER (ORCPT + 99 others); Thu, 12 Jul 2018 02:04:17 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:54450 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725992AbeGLGER (ORCPT ); Thu, 12 Jul 2018 02:04:17 -0400 Received: from localhost (74-93-104-98-Washington.hfc.comcastbusiness.net [74.93.104.98]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 9EBA413FE910B; Wed, 11 Jul 2018 22:56:18 -0700 (PDT) Date: Wed, 11 Jul 2018 22:56:18 -0700 (PDT) Message-Id: <20180711.225618.955135210897509961.davem@davemloft.net> To: jan.dakinevich@virtuozzo.com Cc: christophe.jaillet@wanadoo.fr, dan.carpenter@oracle.com, keescook@chromium.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, den@virtuozzo.com, khorenko@virtuozzo.com Subject: Re: [PATCH] cnic: use kvzalloc to allocate memory for csk_tbl From: David Miller In-Reply-To: <1531144279-26687-1-git-send-email-jan.dakinevich@virtuozzo.com> References: <1531144279-26687-1-git-send-email-jan.dakinevich@virtuozzo.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 11 Jul 2018 22:56:19 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jan Dakinevich Date: Mon, 9 Jul 2018 16:51:19 +0300 > Size of csk_tbl is about 58K, which means 3rd order page allocation. > kvzalloc provides a fallback if no high order memory is available. > > Signed-off-by: Jan Dakinevich Applied, thanks.