Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp393663ybl; Fri, 30 Aug 2019 01:10:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/Y9iEMz1BNP2cvRzF7MmE+3fhfTzEkk+D7VHuxKocVBttZ3fbefKOVivc7/1XFQWckXdC X-Received: by 2002:aa7:939c:: with SMTP id t28mr17326443pfe.111.1567152631829; Fri, 30 Aug 2019 01:10:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567152631; cv=none; d=google.com; s=arc-20160816; b=fZMn4yfC0zjHR9NGUSm331uypDVjxNovdqBWFbjF5Z5Bzvj13Xm8JemcubSLY69+D7 UEBqYAZCwgw6Vq4G9IaBHVV9QzopnObKr/5vOs0MDuWnhtlknZmjpnc8pz44YQZMTETF +MMDwyJLGVHB4e4BfLqx9CPnpuSV4EB/KbpdL4w1Gi1n9pQJBSVjJD88mEe6CStmiBUk T5n7btg+RUTLROm9yE3sryKDcYJ4kawBpSwIk4fNnIPMTIarkPTEDntloconjvZuw0Rr Zzwed53dWUZXvfCyKX9GJHh6nptAVEB/s2jGBX5lgcQ8ctQNwSdXI+QdXrD2SgVAMTpp MOvw== 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:message-id:subject:cc:to:from:date; bh=ckYZRHg0V4vjDQ10vGlZKUcxnGosUzXMsZljOTS/Obw=; b=Pgj6mlBrVvubSxnpFN7PcBptJfGBakLP5b6Hc5qqAcgVcT4ZnA5xlouVQuBFHpQkGm GtddXneX4L61f8LPTYtsp1PqJAlkxC/Q0xi7ZBRR2ooMzRj7shPAch/AzdPzM77ODV++ 30QTISKwS2zrlwleCvY9ntPoKtrJJqnij4Evo8og/+MwDNRx7Ky0PEO+TowdfMhoDDsa JEkOFkCTTy9m4uU/KZbNa/4Wd3qck1cU50PUTCCMVPHKwYuXSY+Uh28xCyeBV+tLZMr/ TlbeiWSPY5el4uL1puVpuSZZrcVBED5HoITXz0SOGkZKZm6PQWFvVvkSl/rYaxWu47Bx OjXw== 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 fr17si4240665pjb.36.2019.08.30.01.10.16; Fri, 30 Aug 2019 01:10:31 -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 S1728176AbfH3IJ3 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 30 Aug 2019 04:09:29 -0400 Received: from mx2.suse.de ([195.135.220.15]:60750 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725780AbfH3IJ3 (ORCPT ); Fri, 30 Aug 2019 04:09:29 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 8C2AAB69F; Fri, 30 Aug 2019 08:09:27 +0000 (UTC) Date: Fri, 30 Aug 2019 10:09:26 +0200 From: Thomas Bogendoerfer To: Jakub Kicinski Cc: Ralf Baechle , Paul Burton , James Hogan , "David S. Miller" , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v2 net-next 05/15] net: sgi: ioc3-eth: allocate space for desc rings only once Message-Id: <20190830100926.343e7c2c7f3cd059c359bdd4@suse.de> In-Reply-To: <20190829150504.68a04fe4@cakuba.netronome.com> References: <20190829155014.9229-1-tbogendoerfer@suse.de> <20190829155014.9229-6-tbogendoerfer@suse.de> <20190829140537.68abfc9f@cakuba.netronome.com> <20190830000058.882feb357058437cddc71315@suse.de> <20190829150504.68a04fe4@cakuba.netronome.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 29 Aug 2019 15:05:04 -0700 Jakub Kicinski wrote: > On Fri, 30 Aug 2019 00:00:58 +0200, Thomas Bogendoerfer wrote: > > Out of curiosity does kcalloc/kmalloc_array give me the same guarantees about > > alignment ? rx ring needs to be 4KB aligned, tx ring 16KB aligned. > > I don't think so, actually, I was mostly worried you are passing > address from get_page() into kfree() here ;) But patch 11 cures that, > so that's good, too. I realized that after sending my last mail. I'll fix that in v3 even it's just a transient bug. Thomas. -- SUSE Software Solutions Germany GmbH HRB 247165 (AG M?nchen) Gesch?ftsf?hrer: Felix Imend?rffer