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 8255CC433FE for ; Wed, 5 Jan 2022 08:46:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238585AbiAEIqT (ORCPT ); Wed, 5 Jan 2022 03:46:19 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:23609 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233694AbiAEIqK (ORCPT ); Wed, 5 Jan 2022 03:46:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1641372369; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NHbWblWLX7w+qNgr4qrq0wrqLLwfMancNfbrSbaZv0U=; b=bPrKDHywmWGEKRTrlCwzVASBl0G9fkwYOotYeodf1XqQK2pvYMiOMA5rAgZEfFu/uatgKu /YzeWTMgh+Kk80O3GSXhXU/96cA0huhwcAM5+gWEUKaC+7ZFALDmFsjwWqQXgZrRFcc6fi ylMPUvIoCYGeRkjVg0SDhJH4VGd4Yow= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-378-EfqD0i9RMIiyIEv9SXuItg-1; Wed, 05 Jan 2022 03:46:08 -0500 X-MC-Unique: EfqD0i9RMIiyIEv9SXuItg-1 Received: by mail-wm1-f72.google.com with SMTP id m19-20020a05600c4f5300b00345cb6e8dd4so9983904wmq.3 for ; Wed, 05 Jan 2022 00:46:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=NHbWblWLX7w+qNgr4qrq0wrqLLwfMancNfbrSbaZv0U=; b=N/ZsbiKSBGJJq3uDmWnlVwuMmsZDMomYNiQW7nbvwbT8uxWB91kJQkWZ1bd0PzJK7b aeY5FictmcvMK4YaRt0R6eeF1d8cWMnEwZZmY0Cnm0FGcag3Z4ZpmqmAcSaln+13qPwL uoefGDiS0XoXV/99hXifF0xhuFW1zxJ3ws0ptk6MJtEBBUHUZtrAPE741ZuPOdLXQa0k P0aOdvYVWzjSsr1pe5kSpJm6OacAdeD1oYKNzt4DdKo56AgvNW4YX1hKuM7vkz/e+d7p +0bsqkmd+KT3UY5iXs4fNUa74jt1MYidkbhRLJMPkJdFOuEV4Ou4hocMbNY96nOMJ51F eMQQ== X-Gm-Message-State: AOAM530lc4IWFE66aji0IWI6qaM5PkuTnjMQYuPgxY4A8mSzestOsdDk mdo1iVgCmNmTfpbo75Z1Ei/rHPYjLfIrbUP2NQMubB93s3j5+L30dGXJzTAuujAf5+33ot1bWOy j32eDJR4RwrP9NACaHkmBRHkT X-Received: by 2002:a05:600c:4410:: with SMTP id u16mr1885223wmn.46.1641372367327; Wed, 05 Jan 2022 00:46:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTtf+7plRNRmAYJnxjkla9v82xRqQI6wowda7YsLF+PqrpHkU59+UbgLvlksNTqDo6QkR1BQ== X-Received: by 2002:a05:600c:4410:: with SMTP id u16mr1885198wmn.46.1641372367128; Wed, 05 Jan 2022 00:46:07 -0800 (PST) Received: from [192.168.3.132] (p5b0c6cd6.dip0.t-ipconnect.de. [91.12.108.214]) by smtp.gmail.com with ESMTPSA id c13sm39482052wrt.114.2022.01.05.00.46.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Jan 2022 00:46:06 -0800 (PST) Message-ID: <93a8e489-5ca5-7593-5d2b-59280187e2a1@redhat.com> Date: Wed, 5 Jan 2022 09:46:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: remove Xen tmem leftovers Content-Language: en-US To: Juergen Gross , Christoph Hellwig , Andrew Morton , Konrad Rzeszutek Wilk Cc: Hugh Dickins , Seth Jennings , Dan Streetman , Vitaly Wool , Matthew Wilcox , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org References: <20211224062246.1258487-1-hch@lst.de> <10ec73d4-6658-4f60-abe1-84ece53ca373@redhat.com> <82dbdc2c-20c2-d69b-bdc9-efc54939d54c@suse.com> From: David Hildenbrand Organization: Red Hat In-Reply-To: <82dbdc2c-20c2-d69b-bdc9-efc54939d54c@suse.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05.01.22 07:08, Juergen Gross wrote: > On 04.01.22 15:31, David Hildenbrand wrote: >> On 24.12.21 07:22, Christoph Hellwig wrote: >>> Hi all, >>> >>> since the remove of the Xen tmem driver in 2019, the cleancache hooks are >>> entirely unused, as are large parts of frontswap. This series against >>> linux-next (with the folio changes included) removes cleancaches, and cuts >>> down frontswap to the bits actually used by zswap. >>> >> >> Just out of curiosity, why was tmem removed from Linux (or even Xen?). >> Do you have any information? > > tmem never made it past the "experimental" state in the Xen hypervisor. > Its implementation had some significant security flaws, there was no > maintainer left, and nobody stepped up to address those issues. > > As a result tmem was removed from Xen. Interesting, thanks for sharing. I know tmem mostly from the papers and thought it was an interesting approach in general. There was even papers about a virtio implementation, however, actual code never appeared in the wild :) -- Thanks, David / dhildenb