Received: by 10.223.185.116 with SMTP id b49csp2740643wrg; Sun, 18 Feb 2018 05:44:37 -0800 (PST) X-Google-Smtp-Source: AH8x224NVTRlLeo+QZVilkqV4KFSK6YjEWGHwz3/JMc5qodTgHCYQekR8ppsSXHm9Gm6K4wWvPQV X-Received: by 2002:a17:902:bd04:: with SMTP id p4-v6mr4050001pls.253.1518961476950; Sun, 18 Feb 2018 05:44:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518961476; cv=none; d=google.com; s=arc-20160816; b=iaMiLPSb9uNiNPg8KVcUJdajJs80tInnQTYkUxG44y50rhtyvVNPX43staiZrx/unZ tcS3kY/DmbJc3kJ9boF8a9STce543C7g+0qgEnsJL0byBQlCFNUkgRzx4I3Twj/VObEi RG5mplk16a7q9mo3ZYl78JJJT8i/A6DRkd/BD8FvXfnahbXny5aqzxwFHjUBIAuw08So oAlnL9mkylO3fhVd4kSK/4Cm6QDViKUVL274K+eWu9Elk17j/IAUe8ShIE1+FKm2bNdE td0vOSOZc8drt6849h3oCnBUzT1L6CKCQsW1FNsgxcaXO+Nx2UX1JKiaHYDCKjF1XSLg 7MyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=1DMRiC1IfrlRW/23SbmnqSj4+ku7PMigO6nrvMpuPB4=; b=gGHZ7W8Pwh+iacuCAknSoFnTfPBTJh14XNpc2ETIh3HXVUt9GZP+Ed8MipkcH3LCKM DuR5JYrmsIh6RZPQMeJIyrhfm/rwRniq41991WaFYt+q9lGvX9Zhvd+wwLtcaEBBA7TV THG+rPk5riaWHiQoft7rL19BslxusJv5xv+AL1ptccqP33oycZ0Z8NRua9SJEF7w/yJf ImFGBnTFWJLiAqg4aoagnHQEp3fOhHyJrUDF02zgRpamN0m4FVhrwfvNg+y9qWSXYN5Q GTL2pbGxypwc6/8aXCopZqClVFTHMaYZdTTfaV/MwlbDHE/cxmopcJZce7m/Chb886Tn SwGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=KVmdTn4b; 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 az12-v6si2899028plb.691.2018.02.18.05.44.22; Sun, 18 Feb 2018 05:44:36 -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=fail header.i=@gmail.com header.s=20161025 header.b=KVmdTn4b; 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 S1751485AbeBRNde (ORCPT + 99 others); Sun, 18 Feb 2018 08:33:34 -0500 Received: from mail-qk0-f169.google.com ([209.85.220.169]:43870 "EHLO mail-qk0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751377AbeBRNdc (ORCPT ); Sun, 18 Feb 2018 08:33:32 -0500 Received: by mail-qk0-f169.google.com with SMTP id i184so9275620qkf.10 for ; Sun, 18 Feb 2018 05:33:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=1DMRiC1IfrlRW/23SbmnqSj4+ku7PMigO6nrvMpuPB4=; b=KVmdTn4bOJDuCOWM1Tx4XfLqr8izOQc5Ba/Sg6t6NYSf3yKH7GdKmhVpr+Dmxh/NhO o0K9SsXvwYWNyx3HmzFJdvXbvCEAZGjOhpT9zr+c33g0bOlkmTVNXoBKpFH1gqgyLbPt Dt26QrG8w4ZtqJ74luUwEsfyQruzN563yTg2xsWzJSnmQrut/yzBz0v5G/VjEDtxLLSM 4L4vZ04m6GxAeACfrHtPrycqpiZDQHzyolZQms27CMpFNun/GCR+/hp6A/X9hVUsIdL3 vSutgMWCteYG3GVPDCF0736DmHBvhKjAqBWck0yiF4WcRxHDIewtmfknrklGxSmO1ePf m+Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=1DMRiC1IfrlRW/23SbmnqSj4+ku7PMigO6nrvMpuPB4=; b=p1Bb/4Acftd6tAcxPVjaTqPY8vyOaE695ikkjOnt5fV1Oa9wPuOdN7hudibmYm7/2/ KkgpniqrOoHOmdwAI7Iu2VIo30mPGzmva6Y2nYACSwt91Znk9ENjBq11PiX3R1B7m6qB 3vwQtlywVLmbS1KynL5NP1FJnoDJ/88utUb1oPl2C5xvBSBmT3e/9TtbrLGYFF3BSkAI mI/v0P0AsBRQymx2k7xmmQWi6j+DfocCeXYuaClAaOOb8JntH2E062yoLRsRQmmXwVFE W9Nkqf3mSMbhFZt2q61ZmX4bYiiY0wPtgTUCWPlfHxlHCT/qnF71UNSq5zAtN1JAQWY7 JqaQ== X-Gm-Message-State: APf1xPDsRgBx+oOVYcswXI9QvundA/pj1mVe9rDZZvdAsYd24CilPlic CihbL9B+ocY9UJOhiQrNvts= X-Received: by 10.55.182.69 with SMTP id g66mr18320340qkf.181.1518960811607; Sun, 18 Feb 2018 05:33:31 -0800 (PST) Received: from localhost (dhcp-ec-8-6b-ed-7a-cf.cpe.echoes.net. [72.28.5.223]) by smtp.gmail.com with ESMTPSA id t33sm15950412qtc.14.2018.02.18.05.33.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Feb 2018 05:33:30 -0800 (PST) Date: Sun, 18 Feb 2018 05:33:28 -0800 From: Tejun Heo To: Dennis Zhou Cc: Christoph Lameter , Daniel Borkmann , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/3] percpu: allow select gfp to be passed to underlying allocators Message-ID: <20180218133328.GH695913@devbig577.frc2.facebook.com> References: <20180216180958.GB81034@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180216180958.GB81034@localhost> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 16, 2018 at 12:09:58PM -0600, Dennis Zhou wrote: > The prior patch added support for passing gfp flags through to the > underlying allocators. This patch allows users to pass along gfp flags > (currently only __GFP_NORETRY and __GFP_NOWARN) to the underlying > allocators. This should allow users to decide if they are ok with > failing allocations recovering in a more graceful way. > > Additionally, gfp passing was done as additional flags in the previous > patch. Instead, change this to caller passed semantics. GFP_KERNEL is > also removed as the default flag. It continues to be used for internally > caused underlying percpu allocations. > > V2: > Removed gfp_percpu_mask in favor of doing it inline. > Removed GFP_KERNEL as a default flag for __alloc_percpu_gfp. > > Signed-off-by: Dennis Zhou > Suggested-by: Daniel Borkmann Applied 1-3 to percpu/for-4.16-fixes. Thanks, Dennis. -- tejun