Received: by 10.192.165.156 with SMTP id m28csp907471imm; Thu, 19 Apr 2018 09:27:45 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+iFvmr2k0WJUqjQ+ZCNJkPStTUUccVBTBg858tcmORM++AaFKYpl0We0B7Q57wX/5l1RU1 X-Received: by 2002:a17:902:6ac7:: with SMTP id i7-v6mr6589563plt.374.1524155265699; Thu, 19 Apr 2018 09:27:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524155265; cv=none; d=google.com; s=arc-20160816; b=vx6YSwEg7eG/Z5wyjSgUWjWE429hTAIIQS9jRYljy/r7cu9jIs742J6jwsBKfwgadg mqyah4qRZ08u5F2F8RcZBnSMwN6ZMLz6XTlTamCrErl+24118xIL/H1Wi4ku+lOp7SfT yksZ1XWHpQ47hRiYDvJeIVVJK/Fv/FTdrr7eAA1vLURWTa19Q8dIKelVIT0v3ecP/LEO 70xIzRMpJUE0hwORLEXP2ZS2bN1s/+HQA+0DDH1JbrcOLIulGZi7v3wRJ3eWB2TTgmgo +yHNO6N3adWTOcDX06IlFRjtw1EfLB5pmIl7zkLYQJz2oCVvmROCkTD+NOJCRb+Swqo8 cv8Q== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=RSegpltAbfdVOhMwUrsQNGyLrNsgharvQhg3K3HCflY=; b=q9Y5JAVBu/fzmTSVf+KbXU1YD8nQ2LrERJ4gj88AZXcrzLaQls/GDfg45VHn7GBP7/ zGVHGHWYw2LgEBzgKDk/RLHXqJ/vL2dmkQ+rnRSakrWntdf5fjnvRAiIZLEKNjxhQYsg 8ud6I9NtIcbQMNuf3aSUdMxhgY0zvxc6E4s/9rfVbqXVaKSwjBtzg9jU5pREaqvzcy+B 1m+3iKhwi+iHC0w5nPT7Am9CBYj5RAAdTJ6tXheVgGlZjCShaV80K4pk02r0kkWH3wOC SmXBaRettJP+q5GLJ+9wiEMfse12WHr2n3lZTP6n+c7dVkcPWbXjyOc3KWZm+P2nVl0d Q/tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SEaVEc50; 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 u14si3227322pgq.103.2018.04.19.09.27.29; Thu, 19 Apr 2018 09:27:45 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SEaVEc50; 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 S1753922AbeDSQZx (ORCPT + 99 others); Thu, 19 Apr 2018 12:25:53 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:36358 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753676AbeDSQZv (ORCPT ); Thu, 19 Apr 2018 12:25:51 -0400 Received: by mail-pf0-f194.google.com with SMTP id g14so2885555pfh.3; Thu, 19 Apr 2018 09:25:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=RSegpltAbfdVOhMwUrsQNGyLrNsgharvQhg3K3HCflY=; b=SEaVEc50B4wmmn57iIWV3tTD4WJrXrjuqVmeh45i/MJws9etPW3Y2dlASdl38rPXlR BWq3Lbj9c7/u5Ra6qPxpyTRb9LSFNlea27JyHrRfN4dmEMHYyj4AbYdbHrAQdPbKmb51 8OWYoUuB27JvBLSFBgbnhIWk/Q199lG7vYzfwhbFC99BJrBboCFFmxJNp61EO5Fop+91 vvYXc8pi7+Qd6HE6Wp1UdcyQnR97Y5MEtF1v0IPn1ePGsuiQKDHCS7UEafrhGqtTT4KR 8J/3DsH75jf1PusCCnokvbap5DlQzkFemXC6b3RavVjyIMlqNnMzTB/HpLmgg1+DwaK0 7DBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=RSegpltAbfdVOhMwUrsQNGyLrNsgharvQhg3K3HCflY=; b=Cstyxrvru6+5Q1Z32EJBcDzuMXefyYdKAuCv1EV74bEZweGDkB+49kJHsTq/drdMCD /ZIDLag6mfeL/CVyYGRqN9/OMNSXyDS/23SThb7vvda/coCpWVAb8G3quHQvGFl8wpJ/ nIBOtotGhTYczcA/AFdVFQvjmxS3Tx5FVcCSNnR7Zh9Zn+HI56Pvh9Rft9ej9kEOeKCz WBsupvz2P+8TSyGa85GBOXW6+7zwJDV1ba4h3a37upWq86Xoww9nH3ryBy5rH7P8pHsf 2j8ONMhdyPmHHR1+te0DvGaSAE1JObj9D1jACbaPa1TckFX7rB7bgV7O+1a+6hO6SJsY gyHA== X-Gm-Message-State: ALQs6tCdB2Pf+DZf3fmqOpHqaC68GtVq1Fioplp9jggwuT0eC6+PBOOG cO3vJ9r67U/AfbyMVv9e0rM= X-Received: by 10.99.154.9 with SMTP id o9mr5758385pge.130.1524155150946; Thu, 19 Apr 2018 09:25:50 -0700 (PDT) Received: from ?IPv6:2620:15c:2c1:103:dcd8:b5d5:bf84:baad? ([2620:15c:2c1:103:dcd8:b5d5:bf84:baad]) by smtp.gmail.com with ESMTPSA id x84sm9576893pfi.160.2018.04.19.09.25.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 09:25:50 -0700 (PDT) Subject: Re: [PATCH] kvmalloc: always use vmalloc if CONFIG_DEBUG_VM To: Mikulas Patocka , David Miller , Andrew Morton , linux-mm@kvack.org Cc: eric.dumazet@gmail.com, 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 References: <3e65977e-53cd-bf09-bc4b-0ce40e9091fe@gmail.com> <20180418.134651.2225112489265654270.davem@davemloft.net> From: Eric Dumazet Message-ID: <6260a8af-3166-94d3-9441-104d342ab7a1@gmail.com> Date: Thu, 19 Apr 2018 09:25:48 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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() ...