Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1652844ybk; Mon, 11 May 2020 00:45:15 -0700 (PDT) X-Google-Smtp-Source: APiQypIRXl9UI+NQQRmpaKhuREdSbyKLn5GO9LOwAnlzGk4fHywyws5Kyq5cljcMY4wTtruJZj3m X-Received: by 2002:a17:906:b84f:: with SMTP id ga15mr12562437ejb.83.1589183115694; Mon, 11 May 2020 00:45:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589183115; cv=none; d=google.com; s=arc-20160816; b=CO2RQz4Aza2piNNnDrZlLpNbqBrYzPwDW2OU2a1jVsy2dQRTJCWFaTJ7zc5B3Cze1X g1T/OjuncbYrqfwBf7pB3dVuKbdzDayymKmGl61sttij+CNCw0JibiYSK5yi5q8seCAu Dedyce4CAzZNLzq4977R8BMj62z/k74vrF0APXiNTRDvJukbOJgJNf1WG0JOzJDvvKh5 KN9NhEGRlSs652kAnxBJQ2Rmwx1ShIWcqReY9rVFZLSS0Dy6NZ6QX2Ol8ZjkiwVNXdUI O2N0TNebIpcb66qDGhyJh+3+fzeXlzyr1xgnyip8FCHZPdgwIBc4QR43usIPE2o6TZuL tmog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=DAesUFHs3+q5GtlegIPJlfeGWtX+Y+hxDiwu9e6F0sY=; b=JAJQOjCh4IRk+BT4DFTd+QxtMZ0KEilkj8qGu+2EAxdkkZtqjUtDhEtxKopDbPlrs5 luMRnc12F0BkeX4708i2ZwvdOLMixldRZQlSTxlEs41uMNDqhXtMswU4sWFeAV4H78oj Co56gPPkp4jauU1qihBzcSl1pNfUSUfBTwKFirPr4LOqJ1EcFtQNdQ/C4H+S6uE09zM8 EP9x4LkHc/B2T1T1GVSu6mm739KBZpIHTKkRa6mf0YHuVDWmHW+gVm2laqqaWqZdVEDh 6ooFhKECMn+lpagjj9sOirYVcGSmXNYXACtISJ8x5RB8QMtG5BvrsFHuXSFLHyWzaTVI le9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kVWkXI+h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q11si5568706eju.120.2020.05.11.00.44.53; Mon, 11 May 2020 00:45:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kVWkXI+h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728848AbgEKHnE (ORCPT + 99 others); Mon, 11 May 2020 03:43:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725790AbgEKHnD (ORCPT ); Mon, 11 May 2020 03:43:03 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF15CC061A0C; Mon, 11 May 2020 00:43:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=DAesUFHs3+q5GtlegIPJlfeGWtX+Y+hxDiwu9e6F0sY=; b=kVWkXI+hLMTACOSwPqCaOyS2We VFyTICdLnsGOW4GySQeVAHxa/bnE/VB27ScJS0+ibDJVEy3tQvZoSwSNXToYYtW+aLUcLjOiXW9pU f41QUPV25MliC0FCocYSJnQ37unthzZT17mmsih8cG+znSLkJJzOF+BGfz25pBJEbMiyUwJhrXhjR x33YDWAcnzViVhSZQb0c3gKT7+qtWLTufIlevJdS0sXlTBfbTyBpC9QPBrs7ZIX3f3A2At227q3fP 5k51WwJAmlHUvyM5f7JFs0pu1Tcaww4yZFrCp/ZdhnsKGAy+xCihTerrfmBqFVehwvniM7PydMxpy Cc97eILA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jY35J-0007Gl-US; Mon, 11 May 2020 07:42:46 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 386CB303DA0; Mon, 11 May 2020 09:42:43 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 1D4392870C6C3; Mon, 11 May 2020 09:42:43 +0200 (CEST) Date: Mon, 11 May 2020 09:42:43 +0200 From: Peter Zijlstra To: Andy Lutomirski Cc: Joerg Roedel , Joerg Roedel , X86 ML , "H. Peter Anvin" , Dave Hansen , "Rafael J. Wysocki" , Arnd Bergmann , Andrew Morton , Steven Rostedt , Vlastimil Babka , Michal Hocko , LKML , Linux ACPI , linux-arch , Linux-MM Subject: Re: [RFC PATCH 0/7] mm: Get rid of vmalloc_sync_(un)mappings() Message-ID: <20200511074243.GE2957@hirez.programming.kicks-ass.net> References: <20200508144043.13893-1-joro@8bytes.org> <20200508213609.GU8135@suse.de> <20200509175217.GV8135@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 09, 2020 at 12:05:29PM -0700, Andy Lutomirski wrote: > On x86_64, the only real advantage is that the handful of corner cases > that make vmalloc faults unpleasant (mostly relating to vmap stacks) > go away. On x86_32, a bunch of mind-bending stuff (everything your > series deletes but also almost everything your series *adds*) goes > away. There may be a genuine tiny performance hit on 2-level systems > due to the loss of huge pages in vmalloc space, but I'm not sure I > care or that we use them anyway on these systems. And PeterZ can stop > even thinking about RCU. > > Am I making sense? I think it'll work for x86_64 and that is really all I care about :-)