Received: by 10.192.165.148 with SMTP id m20csp4844869imm; Tue, 24 Apr 2018 09:15:45 -0700 (PDT) X-Google-Smtp-Source: AIpwx4//jCmd3Lvp+SZIwWKQv1bVG6MJVRH9tAYxLRZ8xymQPYxgX76ZnWS+ZEMdJCk7vCU+Wnz/ X-Received: by 10.99.111.130 with SMTP id k124mr20232562pgc.301.1524586545882; Tue, 24 Apr 2018 09:15:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524586545; cv=none; d=google.com; s=arc-20160816; b=sd6uDc+r5IKbRhL5LP2Tr0Mn+gKCx1EFN0js44GyNhEcq6i0rYAhDYEgidGSsZX1Ek vYmWiikg0bgSaib+XRNkto99fnJKS7nxQBUeFbf6abWOiVVjK4liZ4OJdLGTRnLCYD0b tN9uwGMV0qat2uj/aGRc71z6u+b4Ldp4j+P+dr4RefDJlQK8i4PlgxptfFZvS5njGfGi KSlrLDZudk+Tnx4mHVLtTS7n4A+rHalGVDOmoDFfspiw1KPy7dG1tpDfEUh8ms9ikEGn 3ZHDftlyNhkzYAWGHbd1gwLVd6AgqSYCr73oOGmXsOBkPsHjdrpuzGcd2rRWesIXeB4t NWuQ== 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:arc-authentication-results; bh=/EPEquDN6EPzl01kUPCzGq3T7RVVfRz+gbFlfhGwGLw=; b=0VL7ezrkSTJnbnK8OMmTsm061gZlS79ZIm88MJmcoOioJ0e0+wli6/aEpFuj4oqooH 0nfPtt60da1OMu5bYC8EAJKWTnj+fS+EKCi4dyjKSRDYYUPrc0NJMlrKPfO15ZtU605S ItMLytA7RiEXXeIsQiKzhFSgkR9VowFySmCQOl3Z55zzYxNcwPFwlWz/2eC4MYLGuiqm zISziPjvrlhXelkWVeoAF8djxlr+nfIGCr1LUtzLHCZXmqh6VcibPah1dMCPNEbG91oN P7cJixJYPb2JgWTyOghdulOq40OrwN9MYhblyNKxJJ3ebyirFlY5jYnOZ1QH3fs9y54F nKRg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h186si12019663pge.324.2018.04.24.09.15.31; Tue, 24 Apr 2018 09:15: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; 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 S1752118AbeDXQMv (ORCPT + 99 others); Tue, 24 Apr 2018 12:12:51 -0400 Received: from mx2.suse.de ([195.135.220.15]:39822 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735AbeDXQMr (ORCPT ); Tue, 24 Apr 2018 12:12:47 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 21A5CAD7C; Tue, 24 Apr 2018 16:12:46 +0000 (UTC) Date: Tue, 24 Apr 2018 10:12:42 -0600 From: Michal Hocko To: Mikulas Patocka Cc: Matthew Wilcox , David Miller , Andrew Morton , linux-mm@kvack.org, eric.dumazet@gmail.com, edumazet@google.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 Message-ID: <20180424161242.GK17484@dhcp22.suse.cz> References: <20180420130852.GC16083@dhcp22.suse.cz> <20180420210200.GH10788@bombadil.infradead.org> <20180421144757.GC14610@bombadil.infradead.org> <20180423151545.GU17484@dhcp22.suse.cz> <20180424133146.GG17484@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 24-04-18 11:30:40, Mikulas Patocka wrote: > > > On Tue, 24 Apr 2018, Michal Hocko wrote: > > > On Mon 23-04-18 20:25:15, Mikulas Patocka wrote: > > > > > Fixing __vmalloc code > > > is easy and it doesn't require cooperation with maintainers. > > > > But it is a hack against the intention of the scope api. > > It is not! This discussion simply doesn't make much sense it seems. The scope API is to document the scope of the reclaim recursion critical section. That certainly is not a utility function like vmalloc. -- Michal Hocko SUSE Labs