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 A66A9C7618A for ; Thu, 16 Mar 2023 09:34:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230167AbjCPJeg (ORCPT ); Thu, 16 Mar 2023 05:34:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231193AbjCPJeb (ORCPT ); Thu, 16 Mar 2023 05:34:31 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7044B861A for ; Thu, 16 Mar 2023 02:34:08 -0700 (PDT) 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-268-_Kt5I6A8OTyr-IwvmH3DbQ-1; Thu, 16 Mar 2023 09:34:05 +0000 X-MC-Unique: _Kt5I6A8OTyr-IwvmH3DbQ-1 Received: from AcuMS.Aculab.com (10.202.163.6) by AcuMS.aculab.com (10.202.163.6) with Microsoft SMTP Server (TLS) id 15.0.1497.47; Thu, 16 Mar 2023 09:34:02 +0000 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.047; Thu, 16 Mar 2023 09:34:02 +0000 From: David Laight To: 'richard clark' CC: "linux-kernel@vger.kernel.org" , "torvalds@linux-foundation.org" Subject: RE: Question about select and poll system call Thread-Topic: Question about select and poll system call Thread-Index: AQHZVhzW15NaHXL3bku7XbgbJ/Iq0a77izHggAEM7ICAAJBhcA== Date: Thu, 16 Mar 2023 09:34:02 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogcmljaGFyZCBjbGFyaw0KPiBTZW50OiAxNiBNYXJjaCAyMDIzIDAwOjU3DQo+IA0KPiBP biBXZWQsIE1hciAxNSwgMjAyMyBhdCA0OjU54oCvUE0gRGF2aWQgTGFpZ2h0IDxEYXZpZC5MYWln aHRAYWN1bGFiLmNvbT4gd3JvdGU6DQo+ID4NCj4gPiA+IDIuIENhbiB3ZSB1bmlmeSB0aGUgdHdv IGRpZmZlcmVudCBzeXN0ZW0gY2FsbHM/IEZvciBleGFtcGxlLCB1c2luZw0KPiA+ID4gcG9sbCgu Li4pIHRvIGltcGxlbWVudCB0aGUgZnJvbnRlbmQgc2VsZWN0IGNhbGwoLi4uKSwgaXMgdGhlcmUN Cj4gPiA+IHNvbWV0aGluZyBJJ20gbWlzc2luZyBmb3IgY3VycmVudCBpbXBsZW1lbnRhdGlvbj8g VGhlIENvbnMgYW5kIFByb3MsDQo+ID4gPiBldGMNCj4gPg0KPiA+IFRoZSB1bmRlcmx5aW5nIGNv ZGUgdGhhdCBpbXBsZW1lbnRzIHRoZW0gaXMgY29tbW9uLg0KPiA+DQo+ID4gQmV3YXJlIHRoYXQg dGhlIGdsaWJjIHNlbGVjdCgpIHdyYXBwZXJzIGhhdmUgdGhlaXIgb3duIGxpbWl0DQo+ID4gb24g dGhlIGhpZ2hlc3QgZmQuDQo+ID4gRXhjZWVkaW5nIHRoYXQgbGltaXQgKHByb2JhYmx5IDEwMjQp IHdpbGwgY2F1c2UgYnVmZmVyIG92ZXJydW5zDQo+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