Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2249310pxm; Fri, 4 Mar 2022 12:18:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJyk7Suuc7W6B2ntlu8k0QcKBFpJSurSmOk641zCq2/O6xzFW9qKrp2KlkmCN6exDCPN7eOK X-Received: by 2002:a17:90a:b010:b0:1bf:2ce9:8774 with SMTP id x16-20020a17090ab01000b001bf2ce98774mr3696128pjq.137.1646425099871; Fri, 04 Mar 2022 12:18:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646425099; cv=none; d=google.com; s=arc-20160816; b=P9rEpuXd14SIcMtzVgmj9eiZXFicPoL5W7vV9SvlrjulpQdoNE53Fz1fOGmcZRHKSc vtEMatGjbj2sblm4wJZ5xyOnD2ngYBnXBsIeseUmS++1nqWd0MV0k+GGviedQR5hYjQm aBIX31lZczNJwfJ4yQKvSfjNSOcTb6oWVXNiCPifUfUB/fH5nF2mo8c/4WF2QFMoHDVi PSbR+I3S2zEDZGfn/RN3cgLuaUUafk+Cfie5EESkqNJyfqGHghn8zX8EaSoW4UMYwU65 1gDotumhfhC82Tb1hWWtHhXz/k52deDJX5UkAJQq9DaVndVyzm+9vNciYpW2jTn67Ww3 dAIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=5IIyu3V6JyZxTM4QW6XDn+zJ4BNFrrgaUMPNXlXD3rc=; b=fLwuD5H98FBJlE9nw37eNFhVUFEDG7rAkjihmajPe7+xXb+cCdbom8fnjP888r+FPz KM3escOQ7kaxw+jY1Iti5Qt+CJWCF/Nrxul32JQ384xQWt2JqciEeSa/5TNs8y10BmLY cWW5gnJB8JmvgO2OMjHd6+nUtRs6aHlZbAdOIJOSJmeur+jFbG4W0RSArwx9GxuAR3A1 qjHPhejHKuXtmizZngHl0Js+Ne4V+dCBffR8UW/EajtyIJcRJW5Sa8MDWvBmc4pi5/2f MfYbAhFjngTe7jl5H3HqvG7sbbwN1NugBS8++eO9cZEhogRhD3NWOHaPEsz6wScHaOJ8 wjCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=UitQJmKR; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id i3-20020a170902cf0300b00151a6fddfb1si5593697plg.166.2022.03.04.12.18.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 12:18:19 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=UitQJmKR; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D1AA932B24B; Fri, 4 Mar 2022 11:30:01 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241455AbiCDSCd (ORCPT + 99 others); Fri, 4 Mar 2022 13:02:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241481AbiCDSCZ (ORCPT ); Fri, 4 Mar 2022 13:02:25 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2ED351D06F6 for ; Fri, 4 Mar 2022 10:01:34 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id b9so15480128lfv.7 for ; Fri, 04 Mar 2022 10:01:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5IIyu3V6JyZxTM4QW6XDn+zJ4BNFrrgaUMPNXlXD3rc=; b=UitQJmKRYIi3XZTJMbylshPqv8vGQ+3FgxsTTHVVz4mqaiJsbjaMBivswMaIsg1X6z kG1HT/WWh6TXjxgFCnOG4KlWZQzay/cQAzhpTSUO5NuPs7Dx4pAqSuW/1lcfbwCZBKQ1 +36ay/fBApVGdwFKWLXyR+GyfWDuKseXonuzc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5IIyu3V6JyZxTM4QW6XDn+zJ4BNFrrgaUMPNXlXD3rc=; b=bMdK1a1cf0f2r/HskPqhn6iprR/7PXIUx9WrT+HwRntpcXqCSmzaXawCXNcopbNptF HwHZ3LSb+JKgV/bVpJrWpl1m6EoRmGtY4g1Qp8UvxkmKCoxKf2M/RNrg6LOip/j6I5u6 NZaNUJEOu27LU2KYUfS/jSvIoId5mMriYBvDlTsdWQ3z1SiTijNreGRbXpmIXOdmuTnG juS2Vkq7RoqMSxSm/cxey0wawRWl/ZLAGligtzR587Yg9SPPl5ofS/BW2K1hCIB8lWJy d22GWEGMQN/LbrgxmKq/ED+/VxWmSFnks5kBzoyM6woKVBsltc2cnqxw4QEKAqnOnxpS HtEg== X-Gm-Message-State: AOAM5303ayxGD4GLck2YbC6snO7RZMtqRs6Lstmy5ZUd/jB6EjGfmr5+ rNC8G5BUBgW+tOa7YumAJn7dOTYs3BLT8utP X-Received: by 2002:ac2:5f68:0:b0:438:6751:6b83 with SMTP id c8-20020ac25f68000000b0043867516b83mr25204990lfc.376.1646416890085; Fri, 04 Mar 2022 10:01:30 -0800 (PST) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com. [209.85.208.180]) by smtp.gmail.com with ESMTPSA id n8-20020a2e86c8000000b00246381f7fe4sm1198859ljj.108.2022.03.04.10.01.28 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Mar 2022 10:01:28 -0800 (PST) Received: by mail-lj1-f180.google.com with SMTP id o6so12061440ljp.3 for ; Fri, 04 Mar 2022 10:01:28 -0800 (PST) X-Received: by 2002:a05:651c:1505:b0:246:8fe5:5293 with SMTP id e5-20020a05651c150500b002468fe55293mr14863391ljf.152.1646416887860; Fri, 04 Mar 2022 10:01:27 -0800 (PST) MIME-Version: 1.0 References: <8a99a175d25f4bcce6b78cee8fa536e40b987b0a.1646403182.git.daniel@iogearbox.net> In-Reply-To: <8a99a175d25f4bcce6b78cee8fa536e40b987b0a.1646403182.git.daniel@iogearbox.net> From: Linus Torvalds Date: Fri, 4 Mar 2022 10:01:11 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] mm: Consider __GFP_NOWARN flag for oversized kvmalloc() calls To: Daniel Borkmann Cc: bpf , Netdev , Linux Kernel Mailing List , syzbot , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Magnus Karlsson , Willy Tarreau , Andrew Morton , Alexei Starovoitov , Andrii Nakryiko , Jakub Kicinski , "David S . Miller" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 4, 2022 at 6:27 AM Daniel Borkmann wrote: > > [ Hi Linus, just to follow-up on the discussion from here [0], I've cooked > up proper and tested patch. Feel free to take it directly to your tree if > you prefer, or we could also either route it via bpf or mm, whichever way > is best. Thanks! Applied. Thanks, Linus