Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3223805imm; Sun, 29 Jul 2018 13:17:22 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeORrLUt5kag8Mek/Fn32+5magt8KHM+iXTHaO+j6WtqA17N4yBJMSZnvyT2peEw7J5vlOp X-Received: by 2002:a63:7b1b:: with SMTP id w27-v6mr13366980pgc.199.1532895441960; Sun, 29 Jul 2018 13:17:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532895441; cv=none; d=google.com; s=arc-20160816; b=w0UOFLScmeruS55XQ0yYnicOLuYk20pSZ2wnQakeEFbh8ZQ1ZTdO16GR+w6eoB5GcX mq2wE9y1aAgbsr7ttfxLd/vo4ePIlqFQRMgoTxTvWAiRZdzymcLKfH2ZEm8//Y1piP2i TYmP+jpZhZaaLZAcD5DVq+2As7oS2vx2fh6GnLtZuBQS6/cs6g7GMX8GpueLM9yk1Vao k0/d2jJpnF3ZHUH6ZGcMaKNeZcx9qsDqd8AJH/GMtaW2Cm0eSzHY0KtcmxwUC2wbpl9Q OrCu02EznFIRndYVouhN1EPt4FidmjmMRr2sI29v/cu+dlcCKehaB7EgGIEwEMguO5RP 4Vpg== 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=nI7Xgny+4yu8Tur8XeTqHRO71WTfOLDZ78eWi+1ZtJc=; b=pNSjK3qsEpIwGKgLjWIab+4vmBI1IVbuE80MMOYykXMqTU058OjGc98GFm9QfC3Vyh bnzUCloXxva9lyEFyxkKdjxcYzyWRkKXBCjSl8t4Js/u2ALNZK59Ls3zylzexm6zoyR5 oileBsS1Jvqg/oeMVhQ9QjqNKmsj7YES14fePhhXvRPJK88zVvZoGpb8tJAyvPZbLHWb lAt5Vy9fxtfQSG/Ld1CK0Nfbxz0KaFnQJ63eQ/cD1yc/pLPQU9GRExdb0N2oBY5kvpKp /3Yo/BrvmnLSsbK0xJJZUaqQkcyQklxdmAUSKaBwKmtExEaGuqoLbpEq/xruoLV31fFq 8PnA== 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 w14-v6si9360614pgh.14.2018.07.29.13.17.08; Sun, 29 Jul 2018 13:17:21 -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 S1729032AbeG2Vr4 (ORCPT + 99 others); Sun, 29 Jul 2018 17:47:56 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:44438 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726813AbeG2Vr4 (ORCPT ); Sun, 29 Jul 2018 17:47:56 -0400 Received: from localhost (c-73-37-107-99.hsd1.or.comcast.net [73.37.107.99]) (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 CF20613E47D62; Sun, 29 Jul 2018 13:16:15 -0700 (PDT) Date: Sun, 29 Jul 2018 13:16:14 -0700 (PDT) Message-Id: <20180729.131614.1749970569742868829.davem@davemloft.net> To: sean.wang@mediatek.com Cc: john@phrozen.org, nbd@openwrt.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next 1/2] net-next: mediatek: improve more with using dma_zalloc_coherent From: David Miller In-Reply-To: <658dfd485c035cdae5452bc5d572125076b47a48.1532755541.git.sean.wang@mediatek.com> References: <658dfd485c035cdae5452bc5d572125076b47a48.1532755541.git.sean.wang@mediatek.com> X-Mailer: Mew version 6.7 on Emacs 26 / 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]); Sun, 29 Jul 2018 13:16:16 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Date: Sat, 28 Jul 2018 13:35:55 +0800 > From: Sean Wang > > Improve more in the existing code by reusing dma_zalloc_coherent instead > of dma_alloc_coherent with __GFP_ZERO or superfluous zeroing buffer. > > Signed-off-by: Sean Wang Applied.