Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8903433imu; Tue, 4 Dec 2018 16:45:03 -0800 (PST) X-Google-Smtp-Source: AFSGD/W4mjI/rqwY9RTIhXgDa+pl6cJqgMKi1bIkV7b24y8QTMQTDTCJT0ytUps78aGI0h9jUqj6 X-Received: by 2002:a17:902:9a9:: with SMTP id 38mr21760087pln.204.1543970703350; Tue, 04 Dec 2018 16:45:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543970703; cv=none; d=google.com; s=arc-20160816; b=yMBAuuqMIRwvtwmSYHkW/3gzksUYDn1r/9IVnMeyjbCsjxpX8oRABRRGF8ou+CzS84 ZbZQBWU1T3dQIa3kH/ZCa7aBjEsM49SSVfw1kT4XaryZ4QFjfh4lgYRpwB4uQ711ExcP NYrl1o2EXxTRFHg2ZXnheZ1cDJ4X+nxDqLmXEGaYXhhCnIojmBUCWC91cw11xNXxVdbe y+v+vOwdrkUz0oq2DlW6gkVhO//iyolAW6n+IwsSNzU1JbHBe76UGxQhZHHOxcHgc6zw Ya4wIYF6zX91M1R0Nr0ZHQTx5oJzsOAU1uVFODYAKdCPJ8AcZy4k7mkDbS0kGe0+SQGR ICnw== 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:message-id :in-reply-to:date:references:subject:cc:to:from; bh=VPLnpiIyiaMVxfw/c3Gj1dhOah8MjT3qzUO3Gzcq5og=; b=DemCB+xrXFWLlppCkpjL/E0MWmKdlAvVk8pxGd1wjz1Aqa5FlpePvOc0Oe+2mQjyLf NwQo4vzcwFiRUItTHjvTSFVxxQ4Nk1I8G+dCaVNOG87ybuVyH3f5h59q4XSH24cnmHYO aN9P/2frFdbCd+NZp+NNYXWq2enbCt4zbVpeRKCRaqhriGqosRBXRN7T2YtBuWMsQ5A0 zv806kjyuRTpks7AAVJKeKMsrlhu8x4imJbX1FGX4Aa9VaQhmr5ZJUzH6dZqVuqzM1Ti do47cIWAqM86ZZMyNgrJVtvY8WZJw96Jcm2JMVmosBb60ufggx4WlfE3vjJnUBP3fS0k deHA== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u4si18704181pls.34.2018.12.04.16.44.47; Tue, 04 Dec 2018 16:45:03 -0800 (PST) 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726734AbeLEAnA (ORCPT + 99 others); Tue, 4 Dec 2018 19:43:00 -0500 Received: from mga04.intel.com ([192.55.52.120]:44396 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725904AbeLEAm4 (ORCPT ); Tue, 4 Dec 2018 19:42:56 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Dec 2018 16:42:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,316,1539673200"; d="scan'208";a="98694711" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.137]) by orsmga008.jf.intel.com with ESMTP; 04 Dec 2018 16:42:57 -0800 Received: by tassilo.localdomain (Postfix, from userid 1000) id E699D300F9B; Tue, 4 Dec 2018 16:42:55 -0800 (PST) From: Andi Kleen To: Larry Bassel Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: RFC: revisiting shared page tables References: <20181204231623.GA19227@ubuette> Date: Tue, 04 Dec 2018 16:42:55 -0800 In-Reply-To: <20181204231623.GA19227@ubuette> (Larry Bassel's message of "Tue, 4 Dec 2018 15:16:24 -0800") Message-ID: <87y3947qi8.fsf@linux.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Larry Bassel writes: > > Isn't Linux kernel archaeology fun :-) > > 13 years have elapsed. Given the many changes in the kernel since the original > patch submission, I'd appreciate your insight into the following questions: I believe the main objection (from Linus) back then that it would complicate page table locking significantly, and also add overhead for it. If anything locking (or even lack of locking, as in lockless code) has gotten far more hairy in the 13 years, so this issue likely got far worse. So if you would work on it I would start with some investigation what the locking scheme would take, how maintainable it would be, and how many atomics in hot paths it would add. -Andi