From owner-freebsd-net@freebsd.org Tue Jul 17 22:28:29 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8B28102409E for ; Tue, 17 Jul 2018 22:28:28 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670073.outbound.protection.outlook.com [40.107.67.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C0607C648 for ; Tue, 17 Jul 2018 22:28:28 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YTOPR0101MB0953.CANPRD01.PROD.OUTLOOK.COM (52.132.44.24) by YTOPR0101MB1292.CANPRD01.PROD.OUTLOOK.COM (52.132.45.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.952.20; Tue, 17 Jul 2018 22:28:27 +0000 Received: from YTOPR0101MB0953.CANPRD01.PROD.OUTLOOK.COM ([fe80::7098:a543:5be8:f30e]) by YTOPR0101MB0953.CANPRD01.PROD.OUTLOOK.COM ([fe80::7098:a543:5be8:f30e%5]) with mapi id 15.20.0952.021; Tue, 17 Jul 2018 22:28:27 +0000 From: Rick Macklem To: FreeBSD Net Subject: review of a timeout patch for the kernel RPC Thread-Topic: review of a timeout patch for the kernel RPC Thread-Index: AQHUHh0jHITrnVhbB0+GbS9Z32Os8g== Date: Tue, 17 Jul 2018 22:28:27 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rmacklem@uoguelph.ca; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; YTOPR0101MB1292; 7:0cxgI/5vm+RsEipZUerPvKV7sKQwNX3USqu1a+nAkt5VHJlTBqDBY0u/3OomGaA0RnkqnKSU4I/Ji6Z2rul8rW062peliRzXagINkGMzBOo4xhJJaH1h3GuTXeHJViTpRnW8H3VZS//rI2SAPUr65OHX+O44uVPAgL9QCvfTUHDWNvTjQfPAfo04T3EEq79mC2jxWAdHiry6nt4jAOA409fJiiOjvMqv8YPSfvd29kFve1kPW5l1iil/pB498QRg x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: c369d3b9-93da-4fc6-f0ce-08d5ec349e03 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:YTOPR0101MB1292; x-ms-traffictypediagnostic: YTOPR0101MB1292: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(10201501046)(149027)(150027)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:YTOPR0101MB1292; BCL:0; PCL:0; RULEID:; SRVR:YTOPR0101MB1292; x-forefront-prvs: 073631BD3D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(346002)(396003)(376002)(39860400002)(136003)(189003)(199004)(256004)(53936002)(316002)(33656002)(6916009)(5660300001)(105586002)(106356001)(97736004)(5250100002)(74316002)(478600001)(305945005)(25786009)(74482002)(786003)(2906002)(81156014)(81166006)(8676002)(8936002)(7696005)(68736007)(55016002)(26005)(6506007)(9686003)(102836004)(2900100001)(6436002)(14454004)(486006)(86362001)(186003)(99286004)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:YTOPR0101MB1292; H:YTOPR0101MB0953.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-microsoft-antispam-message-info: LvBQl0BU0YB5fBus4szahD/gDFhqW6RyoYPN1/wgNdd6rL1WLA2HQnNGTMIHEfu5sghV08872ujpdXQyNLGw70oVk/S1KFxUZ8Rgrvwma3j1cxPWpiG9MDaLO7Naf5HtvIqpSz5P9NxAn+5mdljZZGNt1VaYDyVBQb3/xN/HRC4GW1MIPI/39OazT6iF+bQL1kbvvleJDDoDRIWEgkl02cNJPWmKgrr4IXE4SLRW6ajkOJ0GWiyWccls09SYEycL34y4D35HD7OZ4ESfu6KrpcheermpCeOu6zZGaDpdb6aB+d88fgpfNxrPqJ+HTCpMrkG4IXuMaNeY2loLzBnIkMtuNsBi+hQPeIkFuAfqIq0= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: c369d3b9-93da-4fc6-f0ce-08d5ec349e03 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jul 2018 22:28:27.5535 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTOPR0101MB1292 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2018 22:28:29 -0000 HI, I've created D16293 on reviews.freebsd.org for a patch that sets a timeout = for a failed server connected over TCP. The code changes are simple, so the review is more about the technique I used. kib@ has already made a comment. If anyone else would like to comment or review this, it would be appreciate= d, rick