Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1194519lqo; Sat, 11 May 2024 11:26:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX4Z4hKM8VEQ8FlM94S+NqjKYkWLT3Elfs46VO0Uk4i0vHQ30l1bjV5JpN3eacqOX676cJo5+GZfMsz5aSN/mJ+ZTHS7N04IV5YsKobhQ== X-Google-Smtp-Source: AGHT+IH90kU5JmrWjv9UYaojs8exkOwMrLHS0QcdHXDSYpZSEp88kP4z6yavFCmRu3bUbAmnvFsN X-Received: by 2002:a05:6a00:1941:b0:6ed:def7:6ae2 with SMTP id d2e1a72fcca58-6f4e02981e9mr6450248b3a.6.1715451960451; Sat, 11 May 2024 11:26:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715451960; cv=pass; d=google.com; s=arc-20160816; b=dW0HDzUsMRFhcUdrhAUCQKqswb5bDj04mQADgUPWHt+nDfXA/4uU/5+KUe6G/L8A6a /HJG9qjYKkzh1CKW+G+O744Uo7nlwB6es5lYWp9aJhmeCxho2lYe8FVcgDPW0IkJVpGy pqcvgd1knyLPvjyerJP6I4QW7btAVcgg1LY1e5Jhp+UNXCzUP9brx4LuRK6qLhx0u4vs 3LYz6NqWMy7I5OD6UGRWRU17Ga8pTQFgsPVqCgOWUU2G8bdlyFjBhbS2FFPecqWF7Ujv X8ABllrTKFHCHJoncSvLlIgpVS5ac67K29xmvxsDtFiecJqOu82QqWsh56lsWa+Fv9+O Gi4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=SQkRJ+POEYNpmaLKC5bXQukzr7BtcJy8mua2DhWEbtA=; fh=U4wpCeqzZx3B95pk247zYZzNTJpRXdC071sLgSFDcAg=; b=sb1hsx16shgBCg0souu9wxnSYDmGBnrm13C9kD3rrI2tnmv2du/GlQf1+BiPibL7lU OclwRhDxIVuMmB40y7ouZ9+pFz9jfZR499KbWL9+NBe6t0sDiYTnYPW5cGkkIZUu9kHR yy2FgobhKGhctZkpD2sWSxaGeQn9dRPA9ebMSmimKbai8lRFWST0u+72siDpXdaEq+m4 w6GPsY2yH+2z7Pz1Y27Myjk1aZO4UHN6YT+YYFTGu90VYRQuxUW/vrgbmoM2FRitsGkz afqWH3ZgYxWoigDTUtDpcrPVzIk5e/j58P9LW3mQKGQcnC+2ELDMFTNvCzwo1xmTiBqC +0EA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=aculab.com dmarc=pass fromdomain=aculab.com); spf=pass (google.com: domain of linux-kernel+bounces-176678-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176678-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-63409e814adsi5965547a12.138.2024.05.11.11.26.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 11:26:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176678-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=aculab.com dmarc=pass fromdomain=aculab.com); spf=pass (google.com: domain of linux-kernel+bounces-176678-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176678-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 145A6281F31 for ; Sat, 11 May 2024 18:26:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 364321CF9B; Sat, 11 May 2024 18:25:47 +0000 (UTC) Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 159AB1CA80 for ; Sat, 11 May 2024 18:25:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.58.86.151 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715451946; cv=none; b=Te4oYg34085t37icb+Oi9jQNjhpl1f6J8n6HTrr6uXLcy3snETcd3FCOctIXXSlepqO75kxFXQqDouFv6+9TuSBBb5pZaexUi4ZCZjmZpOf1F8ughe59T1addZHEOXsN92idkuAuTyHRR4ST+Seo4zq36fP8kNG9Yh7dDRXc3yk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715451946; c=relaxed/simple; bh=SQkRJ+POEYNpmaLKC5bXQukzr7BtcJy8mua2DhWEbtA=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: MIME-Version:Content-Type; b=aacA3K/sDwHXiOQQKYFdfRu5sCKtg9FsXY8Q/uPn3tG+lEeSXMGMqg+5sQBExfaDHo7dQqwZezmeD+qwP+iFH45sKeksgRCNesNKyjniCKVBa3RxlGrhYDcD+QH4txHJfuBXt9Dh/gxi1c9+C1lZc74mTkr4ePGY/S8KWvhA7nc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ACULAB.COM; spf=pass smtp.mailfrom=aculab.com; arc=none smtp.client-ip=185.58.86.151 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ACULAB.COM Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aculab.com Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-7-hlD-hTv5PSKv4xd1znQCwQ-1; Sat, 11 May 2024 19:25:35 +0100 X-MC-Unique: hlD-hTv5PSKv4xd1znQCwQ-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Sat, 11 May 2024 19:25:02 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Sat, 11 May 2024 19:25:02 +0100 From: David Laight To: 'Christian Brauner' , Daniel Vetter CC: =?utf-8?B?Q2hyaXN0aWFuIEvDtm5pZw==?= , Linus Torvalds , Al Viro , "keescook@chromium.org" , "axboe@kernel.dk" , "christian.koenig@amd.com" , "dri-devel@lists.freedesktop.org" , "io-uring@vger.kernel.org" , "jack@suse.cz" , "laura@labbott.name" , "linaro-mm-sig@lists.linaro.org" , "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-media@vger.kernel.org" , "minhquangbui99@gmail.com" , "sumit.semwal@linaro.org" , "syzbot+045b454ab35fd82a35fb@syzkaller.appspotmail.com" , "syzkaller-bugs@googlegroups.com" Subject: RE: [Linaro-mm-sig] Re: [PATCH] epoll: try to be a _bit_ better about file lifetimes Thread-Topic: [Linaro-mm-sig] Re: [PATCH] epoll: try to be a _bit_ better about file lifetimes Thread-Index: AQHaosiO/bmWtIycWUWbxqLWgzPstbGSV1Yw Date: Sat, 11 May 2024 18:25:02 +0000 Message-ID: References: <202405031110.6F47982593@keescook> <20240503211129.679762-2-torvalds@linux-foundation.org> <20240503212428.GY2118490@ZenIV> <20240504-wohngebiet-restwert-6c3c94fddbdd@brauner> <20240508-risse-fehlpass-895202f594fd@brauner> <20240510-duzen-uhrmacher-141c9331f1bf@brauner> In-Reply-To: <20240510-duzen-uhrmacher-141c9331f1bf@brauner> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 RnJvbTogQ2hyaXN0aWFuIEJyYXVuZXINCj4gU2VudDogMTAgTWF5IDIwMjQgMTE6NTUNCj4gDQo+ ID4gRm9yIHRoZSB1YXBpIGlzc3VlIHlvdSBkZXNjcmliZSBiZWxvdyBteSB0YWtlIHdvdWxkIGJl IHRoYXQgd2Ugc2hvdWxkIGp1c3QNCj4gPiB0cnksIGFuZCBob3BlIHRoYXQgZXZlcnlvbmUncyBi ZWVuIGR1dGlmdWxseSB1c2luZyBPX0NMT0VYRUMuIEJ1dCBtYXliZQ0KPiA+IEknbSBiaWFzZWQg ZnJvbSB0aGUgZ3B1IHdvcmxkLCB3aGVyZSB3ZSd2ZSBiZWVuIGhhbW1lcmluZyBpdCBpbiB0aGF0 DQo+ID4gIk9fQ0xPRVhFQyBvciBidXN0IiBtYW50cmEgc2luY2Ugd2VsbCBvdmVyIGEgZGVjYWRl LiBSZWFsbHkgdGhlIG9ubHkgdmFsaWQNCj4gDQo+IE9oLCB3ZSdyZSB2ZXJ5IG11Y2ggb24gdGhl IHNhbWUgcGFnZS4gQWxsIG5ldyBmaWxlIGRlc2NyaXB0b3IgdHlwZXMgdGhhdA0KPiBJJ3ZlIGFk ZGVkIG92ZXIg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