Received: by 10.213.65.68 with SMTP id h4csp539561imn; Wed, 28 Mar 2018 08:14:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx4//hxldLe+GmhzJZH0eGYi1xIxQFlU+KrX0PY/JO+z5/BEQ+rEBqPuiIQ1ilIfvAlSNbJqU X-Received: by 2002:a17:902:8f97:: with SMTP id z23-v6mr4261584plo.162.1522250071263; Wed, 28 Mar 2018 08:14:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522250071; cv=none; d=google.com; s=arc-20160816; b=V4s2UnnGzLiJUyKfumHqyVrJeHkt72Xnf1uhe5SqpApi0fN67mCNPH2k9y5AgoFJ+S eFLu8dzYQw/6/s1E+n1xMD5TbN3YQJm8B/HuFuetqScbwu+nCqhQZS6rcpqcbGfQMGS6 ToP9rSelIFErx7wE+5cxMN9bAhbqvTeCyK2nVidpF/2U+1SgK8vh3JJVzG/VYvddaFE8 3usT8DoY17nRypWpXycYE5BzJi8Z3W/ap7Hh0rpMsecrv3hn7cJwTOpHNShcwQ3G2uSV GyffBj44aCpfWAua7oe9OPacrXftP9K4bc9BA9YKyHrMJ7tjCcoNwCiOD4WIIQ+XKLWW a1xA== 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:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=jG87HKfMOGlC3ZVRRtZcaBUEu+QtPoGbtIQZht+mYoI=; b=ErwblAjoNlwCB9UuIL1GQwwFxS04CqUnRsT6OKLmUzWtLR5Kys7APqEwA4x2eYR4/v +/8W0uR4lAV40nQZapNfXSfLpn3Gi9cpWYGzn4Ev/MkDeSjOlyDp0yjfMS5htyiTqBMO 0I1KUzCiwl6NhBZZAbKRyt1hYiLTduS+Dv9EeLvLZ5ZXksnUDk9zFQBxjb9+HJYw9dBb JX+rLUkTJ44ouZ5Y8wxzcL5nxHjFWRGbQauSHYCfHCazzokmyVrUu/pS2wuvmpDW8xTB hM9wzFR6f/hSZpbkDM0yb673cCO1f+nv9OIhQoD4TwCD2M/1rD75xYN48lGP0pWFRvzL azhw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l61-v6si551717plb.568.2018.03.28.08.14.16; Wed, 28 Mar 2018 08:14: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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753898AbeC1PMw (ORCPT + 99 others); Wed, 28 Mar 2018 11:12:52 -0400 Received: from smtprelay.synopsys.com ([198.182.47.9]:54741 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753512AbeC1PMv (ORCPT ); Wed, 28 Mar 2018 11:12:51 -0400 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id C7D2224E121E; Wed, 28 Mar 2018 08:12:50 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id AE448330D; Wed, 28 Mar 2018 08:12:50 -0700 (PDT) Received: from US01WEHTC2.internal.synopsys.com (us01wehtc2.internal.synopsys.com [10.12.239.237]) by mailhost.synopsys.com (Postfix) with ESMTP id 99490330C; Wed, 28 Mar 2018 08:12:50 -0700 (PDT) Received: from DE02WEHTCA.internal.synopsys.com (10.225.19.92) by US01WEHTC2.internal.synopsys.com (10.12.239.237) with Microsoft SMTP Server (TLS) id 14.3.361.1; Wed, 28 Mar 2018 08:12:50 -0700 Received: from DE02WEMBXA.internal.synopsys.com ([fe80::a014:7216:77d:d55c]) by DE02WEHTCA.internal.synopsys.com ([::1]) with mapi id 14.03.0361.001; Wed, 28 Mar 2018 17:12:48 +0200 From: Evgeniy Didin To: "hch@lst.de" , "x86@kernel.org" CC: "linux-kernel@vger.kernel.org" , "sebott@linux.vnet.ibm.com" , "linux-arch@vger.kernel.org" , "iommu@lists.linux-foundation.org" , "Evgeniy.Didin@synopsys.com" , "linux-snps-arc@lists.infradead.org" Subject: Re: [PATCH] dma-mapping: don't clear GFP_ZERO in dma_alloc_attrs Thread-Topic: [PATCH] dma-mapping: don't clear GFP_ZERO in dma_alloc_attrs Thread-Index: AQHTxpm0Ohq39fhgq0eJ/kMWcZgH36Pln7kA Date: Wed, 28 Mar 2018 15:12:47 +0000 Message-ID: <1522249966.2593.14.camel@synopsys.com> References: <20180328133535.17302-1-hch@lst.de> <20180328133535.17302-2-hch@lst.de> In-Reply-To: <20180328133535.17302-2-hch@lst.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.121.3.44] Content-Type: text/plain; charset="utf-8" Content-ID: <39D21B2E5947E541869FC01EB34E3DE5@internal.synopsys.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QWRkaW5nIGxpbnV4LXNucHMgYW5kIGxpbnV4LWFyY2ggbWFpbGluZyBsaXN0cy4NCg0KPiBSZXZl cnQgdGhlIGNsZWFyaW5nIG9mIF9fR0ZQX1pFUk8gaW4gZG1hX2FsbG9jX2F0dHJzIGFuZCBtb3Zl IG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