From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90C35C54EBC for ; Tue, 3 Jan 2023 20:45:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238792AbjACUpH (ORCPT ); Tue, 3 Jan 2023 15:45:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231283AbjACUo5 (ORCPT ); Tue, 3 Jan 2023 15:44:57 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95084F0D; Tue, 3 Jan 2023 12:44:56 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 41FF9B80EE4; Tue, 3 Jan 2023 20:44:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25E46C433EF; Tue, 3 Jan 2023 20:44:52 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="JLxfT6a/" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1672778690; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7cx/K+TO4UmCYrGKr/OeCO+B3doDOyrOgiixkdP5BVI=; b=JLxfT6a/rEkEUgFSY1L4yTIcSrF8hxovhO70zSbWxsGUSi+/sjYNdkoTdF4o4JMObk5klI c0Fo6JZ6+uqxC5jMswCTnFzpoxZSCY/tlQ4gnj6yz+8hZ6w1y4IVzghxvngOLLTnAhQ6xc l/qf0d0XJsIsdXWUPQO1ui6+hOiBHO0= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id fc45cc16 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 3 Jan 2023 20:44:50 +0000 (UTC) Date: Tue, 3 Jan 2023 21:44:47 +0100 From: "Jason A. Donenfeld" To: Linus Torvalds Cc: Andy Lutomirski , Ingo Molnar , linux-kernel@vger.kernel.org, patches@lists.linux.dev, tglx@linutronix.de, linux-crypto@vger.kernel.org, linux-api@vger.kernel.org, x86@kernel.org, Greg Kroah-Hartman , Adhemerval Zanella Netto , Carlos O'Donell , Florian Weimer , Arnd Bergmann , Jann Horn , Christian Brauner , linux-mm@kvack.org Subject: Re: [PATCH v14 2/7] mm: add VM_DROPPABLE for designating always lazily freeable mappings Message-ID: References: <20230101162910.710293-1-Jason@zx2c4.com> <20230101162910.710293-3-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 03, 2023 at 12:15:57PM -0800, Linus Torvalds wrote: > On Tue, Jan 3, 2023 at 12:03 PM Jason A. Donenfeld wrote: > > > > That buffering cannot be done safely currently > > .. again, this is "your semantics" (the (b) in my humbug list), not > necessarily reality for anybody else. Yea that's fair. Except, of course, I maintain that my semantics are important ones. :) > I'm NAK'ing making invasive changes to the VM for something this > specialized. I really believe that the people who have this issue are > *so* few and far between that they can deal with the VM forking and > reseeding issues quite well on their own. Okay, that's fine. I'll see if I can make this work without having to do surgery on mm and introduce a new VM_* flag and such. Hopefully I'll succeed there. Jason