Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2741254imm; Wed, 3 Oct 2018 08:29:21 -0700 (PDT) X-Google-Smtp-Source: ACcGV62lplIsVsJQh8JVc5B6PfGU9di7Yq2BOvJtphzn7DBB1bqmnQEnpcxkeHQtnmKeUQIcZF8n X-Received: by 2002:a62:9850:: with SMTP id q77-v6mr1933408pfd.249.1538580561377; Wed, 03 Oct 2018 08:29:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538580561; cv=none; d=google.com; s=arc-20160816; b=Z1WfmKfLvRcjRMkwBcrNMQVrADxFG66d8R5IXs5NKA7+e3Afpu0t+rdGgTqx3i5L0V fWltpbjl04fLgzncVE2+gmPide0seXgN0hOfMGggtNe9meHIB5L4yMMkdOxTefmeG5cw 3Oqi5jPT8XnhidQbqZNJyBks6UufiZE2wYJ/cgrmyub4pbSqMRxijTPyALTjVLooT6mW J0D+xalRLCK+StlQGy/JNHZg4i/AMAr1GHnCf04oG7mUxo4qUmcWFSbRPt8fEvAf+1VS f/Ap8fP13kHKU4mgOG7HKAyv0+sJ8TGLV4WtE5pc9dOLui4OAqmb3i0lUavzCJ1G2k8h uvqg== 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:date:cc:to:from:subject:message-id; bh=QK1mDocJ+4HYgAj5hZ6WlG3fGHigsb079/soliErxlo=; b=vt3hc1PIdcSgQBWScXAE9zb2eCrSufYsGZP1mmKfr25WVf0qQ65D5ENBe9QrE7BvkT AcrZAlPh7+TcQp+DamDFL9FeoGyJ9yV8LAGoRi6MxD31u5DxktodKKM4YzKnDLB4hLpd MC4gjNs6wc9ZX6fnpyMN3hDYo2yh0vqxZNn7KlSgMDJIcVC+gYi8v8iVaMzofZD49rE3 KW08kFsbJq9bn1NpDWQxaKBrzuttv/hIupFRlpLOzbWAl6dFdp1y0ouBmu9ekRUndwbn dzolWTTRfe3FtH3hhUE4wj+99TfLbvt4+ICWRgBOnWzwHB0EUWq19D1Wtv7NoQ9nPOwN jdnA== 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 u8-v6si2172091plk.368.2018.10.03.08.29.06; Wed, 03 Oct 2018 08:29: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 S1727355AbeJCWRh (ORCPT + 99 others); Wed, 3 Oct 2018 18:17:37 -0400 Received: from mail-pl1-f181.google.com ([209.85.214.181]:40213 "EHLO mail-pl1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726842AbeJCWRg (ORCPT ); Wed, 3 Oct 2018 18:17:36 -0400 Received: by mail-pl1-f181.google.com with SMTP id 1-v6so3655297plv.7 for ; Wed, 03 Oct 2018 08:28:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=QK1mDocJ+4HYgAj5hZ6WlG3fGHigsb079/soliErxlo=; b=b/g9WG80TLzEt8YQDaOyFrLz1mnMoNF9uVTqe3ZyZJ6rKSCU9NeZp861wxyNNc0htv r9n3Zd3qlRSXZb8g/QCZWokRhXSXuRO0PygxKFMGp8TIFjfX+Bx7+MqicaOeWoDn2Jwf b5D9XIWiOm03xDSZKIiDqs3eHbr0qJPqeb+B0STEZbolHwrB2rJ/zLNsuogaBPjh2o5K yaW1eGKjTFGguW6vgpzoaw4FeZMk1thJBI2rIPMzhVOXtMw8tYO6K52v6kOW9+UtReck z/rNlRpSMzcGfJsLtg2XPkeHcCm/eBRDiB4/ErhBY6h+98G3xgthyT4Y2X/qG/zJkXiL IMOw== X-Gm-Message-State: ABuFfohX3+QtQS6/e8k998DXYnDjAYUSsPiKe7Cp/Lo0kJ4fXIt6h0x6 uDR1W5WJl5gZ7/U3s041yUs= X-Received: by 2002:a17:902:aa42:: with SMTP id c2-v6mr2106063plr.119.1538580524338; Wed, 03 Oct 2018 08:28:44 -0700 (PDT) Received: from ?IPv6:2620:15c:2cd:203:5cdc:422c:7b28:ebb5? ([2620:15c:2cd:203:5cdc:422c:7b28:ebb5]) by smtp.gmail.com with ESMTPSA id 84-v6sm7110567pfs.108.2018.10.03.08.28.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Oct 2018 08:28:43 -0700 (PDT) Message-ID: <1538580522.205649.7.camel@acm.org> Subject: Re: [PATCH 3/6] lib/scatterlist: Skip requesting zeroed allocations in sgl_alloc_order From: Bart Van Assche To: Tvrtko Ursulin , linux-kernel@vger.kernel.org Cc: tvrtko.ursulin@linux.intel.com, Tvrtko Ursulin , Bart Van Assche , Hannes Reinecke , Johannes Thumshirn , Jens Axboe Date: Wed, 03 Oct 2018 08:28:42 -0700 In-Reply-To: <20180926141625.17727-4-tvrtko.ursulin@linux.intel.com> References: <20180926141625.17727-1-tvrtko.ursulin@linux.intel.com> <20180926141625.17727-4-tvrtko.ursulin@linux.intel.com> Content-Type: text/plain; charset="UTF-7" X-Mailer: Evolution 3.26.2-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-09-26 at 15:16 +-0100, Tvrtko Ursulin wrote: +AD4 From: Tvrtko Ursulin +ADw-tvrtko.ursulin+AEA-intel.com+AD4 +AD4 +AD4 sg+AF8-init+AF8-table will clear the allocated block so requesting zeroed memory +AD4 from the allocator is redundant. Reviewed-by: Bart Van Assche +ADw-bvanassche+AEA-acm.org+AD4