Received: by 10.192.165.156 with SMTP id m28csp943975imm; Thu, 19 Apr 2018 10:03:32 -0700 (PDT) X-Google-Smtp-Source: AIpwx4++jSQFYtDc7O1yPUfJkNb3YwmFDneakHhUxXm1HcXX8xUcAwSCmNxP/XdhdDxRTA8j8RMX X-Received: by 2002:a17:902:624:: with SMTP id 33-v6mr6912979plg.361.1524157412506; Thu, 19 Apr 2018 10:03:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524157412; cv=none; d=google.com; s=arc-20160816; b=gTYUdY3HLRY626oxLjjrr8r6y1LRrEA+KQvEcZOIHwUU68yveeEZrRvramioTRjkaO SwhCYy46mu/mbx1Hn1AA56CzDIzvtur0d9ceUEKs0sm4Ey65RAFyyNhmZrU9TClHUDP8 YItMNT1248nvWC80QZhFMun1tZRx3Z2bN5JHYHvuqI16pqSaCG545Aap2JMUUKrtnAai l/w6DCk7GXKNqJU5Jpw0DQI5v2XpwftREz12znImpQ/vqi4gCIWQmlIPrWpXFiz+mnUJ ftPXHXt+asiQfFq7OAhypF8zkx+Ee/1JscqgUSvVWpJKDgU5JpDlYC5GA+i80G7X5U0R l02A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=WIXVYBmXL8UnXIHDZjac89jqjHYy1z54tL13za2peMU=; b=cQGooJIUAD8uUA8VbAVuI5wsPuom3Pgv9LWAuArR+9pNOOgJvDasOGJo0w0iJxaiA5 fJWEg8PGZzbG+p/3XFk8p1Jr7VzAkrpN8ik8UaZ7jJpiqDx2zCZAafY7xJtBdcWVMQUg tLTohH0/Jz9d7PalXWaSlkIV3LYIS2RYTz+NQcc6E1YmQfxflMXDFblT4JmAlhPVe+rm advjOTffkKV8sL/u+0rLHtzDZcRqrr66//P33KB6/XLPUl6S33oyzzh2WL9Adkh/v7fe PADTKPKITe4YVORuypY4cwLyCrMVYGvSE0GNmAxkMdu3ZZBKE+mzkAYydaoPdYS0YEQ4 qguA== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n2-v6si3644248plk.374.2018.04.19.10.03.14; Thu, 19 Apr 2018 10:03:32 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754078AbeDSQ2o (ORCPT + 99 others); Thu, 19 Apr 2018 12:28:44 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:52298 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753239AbeDSQ2m (ORCPT ); Thu, 19 Apr 2018 12:28:42 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 077B74074453; Thu, 19 Apr 2018 16:28:42 +0000 (UTC) Received: from file01.intranet.prod.int.rdu2.redhat.com (file01.intranet.prod.int.rdu2.redhat.com [10.11.5.7]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DE4142026DFD; Thu, 19 Apr 2018 16:28:41 +0000 (UTC) Received: from file01.intranet.prod.int.rdu2.redhat.com (localhost [127.0.0.1]) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4) with ESMTP id w3JGSfku003843; Thu, 19 Apr 2018 12:28:41 -0400 Received: from localhost (mpatocka@localhost) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4/Submit) with ESMTP id w3JGSfsu003838; Thu, 19 Apr 2018 12:28:41 -0400 X-Authentication-Warning: file01.intranet.prod.int.rdu2.redhat.com: mpatocka owned process doing -bs Date: Thu, 19 Apr 2018 12:28:41 -0400 (EDT) From: Mikulas Patocka X-X-Sender: mpatocka@file01.intranet.prod.int.rdu2.redhat.com To: Eric Dumazet cc: David Miller , Andrew Morton , linux-mm@kvack.org, edumazet@google.com, bhutchings@solarflare.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, mst@redhat.com, jasowang@redhat.com, virtualization@lists.linux-foundation.org, dm-devel@redhat.com, Vlastimil Babka Subject: Re: [PATCH] kvmalloc: always use vmalloc if CONFIG_DEBUG_VM In-Reply-To: <6260a8af-3166-94d3-9441-104d342ab7a1@gmail.com> Message-ID: References: <3e65977e-53cd-bf09-bc4b-0ce40e9091fe@gmail.com> <20180418.134651.2225112489265654270.davem@davemloft.net> <6260a8af-3166-94d3-9441-104d342ab7a1@gmail.com> User-Agent: Alpine 2.02 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Thu, 19 Apr 2018 16:28:42 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Thu, 19 Apr 2018 16:28:42 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'mpatocka@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 Apr 2018, Eric Dumazet wrote: > > > On 04/19/2018 09:12 AM, Mikulas Patocka wrote: > > > > > > These bugs are hard to reproduce because vmalloc falls back to kmalloc > > only if memory is fragmented. > > > > This sentence is wrong. > > .... because kvmalloc() falls back to vmalloc() ... Yes. There should be "falls back to vmalloc()". Mikulas