Received: by 10.223.185.116 with SMTP id b49csp5183142wrg; Wed, 7 Mar 2018 07:37:15 -0800 (PST) X-Google-Smtp-Source: AG47ELseG/ZevPRnVZvAT/Ior2jjIORKWIEKezUFP9X61HIowFKnRbLCZSKraxE18flcEM9G5Wlr X-Received: by 2002:a17:902:2c43:: with SMTP id m61-v6mr20846890plb.387.1520437035374; Wed, 07 Mar 2018 07:37:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520437035; cv=none; d=google.com; s=arc-20160816; b=fUUiuleUBZaF/g34e4aApt+zCDV/pAHCmI53dwk6hpbA3aNwBI3G9xiC8B27dvtlL3 ll+TLI7XKXp4++1GoIubwTTZk/P+T8IlOCka7IhoQ5uOXyZRNzO3mt4u/7GQe/0/xxSw xMCK47/z/M/DtpWjuJH2GSNhUuzqMhx3TtkafnvFTdanErE4sZtrQEeFbSu5QV6XehoN CUE+YRlWg4bxFDnQUFxJFqeKrCJ3JrVanu/Z4g3DuoaLMam3EtSI5Y71+8gQkW+vJPPn 5PCOmQlypED2nVcUj6zWumukKC36TcpPDWZLJ1W595lsboNAdbnVrtVjIAkkf7rWSoj2 kXWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=4lubG3KiSf46dagLTPEnkJ1i3cX5KlaWth3+Y3sQeX4=; b=ZzHnHxP/gRJ2kpo2ZTcu29YgFL7EZGnqRVi0K0vWEA1g26Pawcb5hSgSlYBFjHuHN+ dazKu92LWQZsz415bhsRLlkzLQeo85iM/J4buPMytyEGni8KDIraf2n2/h43JwOfc2vy ef7IBhv206bisrfD7u8RangSH5caGv0heUbK/u3U7drh2Uf/HndI6Zi0j1UGm8thKFvU PDA2sGJiwe63WNKp/ZSSxbo1zimX2Dgz368dsD3CSnA1EJC4/sQBA7Rb+5u64BD4Zmbl /H6RqJDofQFobEEKpASwA21XgewvPXlp0/V57lMKhtxYS/Rsa6h/529zkk/L8IwxEJXp 3RDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qKWAc6Dv; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 73si14056825pfr.363.2018.03.07.07.36.59; Wed, 07 Mar 2018 07:37:15 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qKWAc6Dv; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933859AbeCGPf4 (ORCPT + 99 others); Wed, 7 Mar 2018 10:35:56 -0500 Received: from mail-qk0-f174.google.com ([209.85.220.174]:44907 "EHLO mail-qk0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933335AbeCGPfx (ORCPT ); Wed, 7 Mar 2018 10:35:53 -0500 Received: by mail-qk0-f174.google.com with SMTP id v124so3102177qkh.11 for ; Wed, 07 Mar 2018 07:35:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4lubG3KiSf46dagLTPEnkJ1i3cX5KlaWth3+Y3sQeX4=; b=qKWAc6DvPawtnvybzSiz1sbO1q/g0ee/IQqnJmL6SfzR4BuanHfCQtsdtNkVYDvxzv QoUBx2YQ2Qta2PzNw9zMI2fK6s78nWy3OiadQe5hx4KB+Eg94sdOJ3svRhHqVHiSy/WL iv3aKMjp8JdNPL7y1/rUm7z+24lYRQ0YCWy3kNQJ490z/FdxX3Uvq50QNmoKbQYYpKKA ZRToLDM9wgzsmgfKX14jGCu4FM/ZoVNLIUiaRkdk8qzLpospH8mtupEzIKYQSkoAz0g2 Qp2so5AFxnFF4GGBvPBO1hSCKewNmavlgdHXDI467cycrKevQnJwEJF3RUIn0V5tabB/ 0RJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4lubG3KiSf46dagLTPEnkJ1i3cX5KlaWth3+Y3sQeX4=; b=dg1Y8oVFvwl+MqWwfimqlXdwAGTF9oGDT9WolMlRr9Z48UWU4WHGOz8BhHlMqNHTsf QgKoZ1gLfScnwojlbx9MZPjmj1z5fVDLA0/Im8YKFhM/nNRkh/wgDJ4oSjmnJ7DYbw3X ZpOfIUEtGcXztZF+vMS+TTb34lHdu8/PmIrTanP8W4J5VnBuQJ8Pa9V2AiXY23CypiYX ZjwDjuM2JFCCkauB6AzZBO7meABpbhC5Sq+ihflLpxO4w0xy53MEGpIswPR8ei1/eDqd Vo2G6ZXU13OqGW5KVZlaI6Um6mEYlu5pT7AvUKo5EyPtNxZasBKuKLmLMEjlDumclHYt O+RA== X-Gm-Message-State: AElRT7GvW1szQ+UFxS+huY1K1vKMlR9XIUIft2AtV8+uBjUMJMOf1N5V 9a2I9T2ggRyZzDeB9fJ3IhpV7zuMuZXWdbT/IJs= X-Received: by 10.55.126.69 with SMTP id z66mr32272757qkc.218.1520436952383; Wed, 07 Mar 2018 07:35:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.195.80 with HTTP; Wed, 7 Mar 2018 07:35:51 -0800 (PST) In-Reply-To: <20180307124712.14963-3-tvrtko.ursulin@linux.intel.com> References: <20180307124712.14963-1-tvrtko.ursulin@linux.intel.com> <20180307124712.14963-3-tvrtko.ursulin@linux.intel.com> From: Andy Shevchenko Date: Wed, 7 Mar 2018 17:35:51 +0200 Message-ID: Subject: Re: [PATCH 2/6] lib/scatterlist: Skip requesting zeroed allocations in sgl_alloc_order To: Tvrtko Ursulin Cc: Linux Kernel Mailing List , Tvrtko Ursulin , Bart Van Assche , Hannes Reinecke , Johannes Thumshirn , Jens Axboe Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 7, 2018 at 2:47 PM, Tvrtko Ursulin wrote: > + sgl = kmalloc_array(nent, sizeof(struct scatterlist), (gfp & ~GFP_DMA)); The parens now become redundant. -- With Best Regards, Andy Shevchenko