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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC0F2C433EF for ; Thu, 16 Jun 2022 06:29:59 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 319076B0072; Thu, 16 Jun 2022 02:29:59 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2C8996B0073; Thu, 16 Jun 2022 02:29:59 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 190536B0074; Thu, 16 Jun 2022 02:29:59 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 09BA86B0072 for ; Thu, 16 Jun 2022 02:29:59 -0400 (EDT) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id CD02414A4 for ; Thu, 16 Jun 2022 06:29:58 +0000 (UTC) X-FDA: 79583123676.30.D31D885 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf26.hostedemail.com (Postfix) with ESMTP id 5AFE6140099 for ; Thu, 16 Jun 2022 06:29:58 +0000 (UTC) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 6C5C961A74; Thu, 16 Jun 2022 06:29:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 284EEC3411F; Thu, 16 Jun 2022 06:29:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655360997; bh=NZ469P3aR2+wNptm85yXJetrNw20aY789hYp+lOYVXY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=o6gK3fsaQYXmn8QOhXFWF8gu6hPfOmd+WzlsumNICIzeCZToJNtpA7UmqDOhTE9Ou pWDbkb0sJURBdbUWMD72J0FajA5RCpwv0ghBb/i3BhD138EhvBjvO5b0CJk/nfqiqq Vxxf69AgofpNQKr25PEj/O8sMfKI0F9EDzwpqvWE= Date: Thu, 16 Jun 2022 08:29:51 +0200 From: Greg KH To: Hans =?iso-8859-1?Q?M=FCller?= Cc: arve@android.com, christian@brauner.io, hch@lst.de, hridya@google.com, joel@joelfernandes.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, maco@android.com, surenb@google.com, tkjos@android.com Subject: Re: [PATCH] staging: remove ashmem Message-ID: References: <3f8d25aa-17a6-e6aa-4b6d-d3388ef35201@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3f8d25aa-17a6-e6aa-4b6d-d3388ef35201@gmail.com> ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1655360998; a=rsa-sha256; cv=none; b=SkiLPsXD6F2FKGwIEdiG4u30+BDJF9wZC0hIrXz/f7kgADz9vY4bhivvKXi39J0Xqgls1b YlIOrgF1XioQhVwh8GvniIPxo+TKrIJeCqPYOvxt9GRY8wpwSTbycfcb/HByJKUfJ9f7LI Un7B7EoyPGWBGoBtH/TbbnMKXZVx2Hg= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=linuxfoundation.org header.s=korg header.b=o6gK3fsa; dmarc=pass (policy=none) header.from=linuxfoundation.org; spf=pass (imf26.hostedemail.com: domain of gregkh@linuxfoundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1655360998; h=from:from:sender: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:dkim-signature; bh=4luxG4Wcb7t/+iVq/Mnz0Z5DgMtVC19C5rQZdzLxqcY=; b=45U3FHEvnmpROGpJ+uKv+1rJhHwStXzDavW2Q+cSiMBzBr2kelcXJZbf/CGxTGBal24DjX w2Q72+YDN0T/4VaIoEVhGsHqNdRMIkzUlZiJfT6ixo0R4j6OFwBoYx1peEOh2jVIrbroYe BS5Z/BhFI/KnfGUY+1RfjlxOiZvRKNE= Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=linuxfoundation.org header.s=korg header.b=o6gK3fsa; dmarc=pass (policy=none) header.from=linuxfoundation.org; spf=pass (imf26.hostedemail.com: domain of gregkh@linuxfoundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org X-Rspam-User: X-Stat-Signature: w6wmb7o77pdjsfueepw85aismtqs8ess X-Rspamd-Queue-Id: 5AFE6140099 X-Rspamd-Server: rspam08 X-HE-Tag: 1655360998-617305 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, Jun 16, 2022 at 07:27:48AM +0200, Hans Müller wrote: > It is not only Android itself that broke but also Anbox > (https://en.wikipedia.org/wiki/Anbox): > https://github.com/anbox/anbox/issues/2042 > > I use that regularly on my system... I know there is Waydroid and I do use > it sometimes but it is not a full replacement (especially since it makes the > whole system slower over time and spams the tty). > > Could you consider reverting that change until the Anbox people found a way > which allows Anbox to not depend on ashmem anymore? That is a "Android 7-based" system? That's old, how are they supporting that anymore with the security stuff that has happened since then? Anyway, if this were to come back, I need a maintainer who agrees to maintain it and fix and support it. Are you able to do that? If so, I think it would probably be easier to fix up anbox to use memfd instead, is anyone doing that (I couldn't figure that out from the github issue...) thanks, greg k-h