Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp118976ybk; Tue, 19 May 2020 17:12:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7bz8LEF7wR6VWuU9sY1jC2EXDE5e7JTAf3Kz5U2bXLGlhC/dZjnJ5roLx3UqDFgKzSqLZ X-Received: by 2002:a17:906:aed2:: with SMTP id me18mr1664064ejb.283.1589933567213; Tue, 19 May 2020 17:12:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589933567; cv=none; d=google.com; s=arc-20160816; b=j2s9+TqE39plwEw5ltQqcsFkhGPCX1mwb1B2J7mvyVoRhT3dVtBzX6k+Viqhw2xyGe MF/DIUnE2vMhxDzJkvSoefb3f1xgBpehzZYg+UWXfNindu3YO/OJ1SS0ZyuiDs9StY2N TulVi2WM92gga3yud8I5hBGKvkwHGhXTgRUKtsf/shYAuDmLHh4DOV3BoX2l7PSXyWDE X0UB2NU9UsEqDdkBhCGNkapy+N6bBtJdCR2DLG3TfPzP/IfR+UESkZax2gxKrnscW64n qsJEn886z4CNnxw29uaIwF7BKS81XSLC3wwIBNWDpr/a3PBJtFwbySOHUeL3T8xgkMwS gUVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=vqQJphs4dbH8l1OCiHVqe97WM4gwnpKo7IbEOxUcuq8=; b=ovXUeUxsC1Ga8NeSFXrO1Seq1Gzm20rohCdTFKSi4KoXnA0MmLzJAIgsfaCN4QtZq1 pbCJ0SMFyYmcaHPFzhUO6oMrtwhbeT5BLqMAowj0OjXDXBMi/RLMxvz2b98Z2xiBvSQY 2ceiAfCGfPGbDnFSgsyGot+GcshazgyVkypZHBIrsIN20yIXIV4nExh9FRP/vzGdIPCY lXE79h+OkU2FxD8pJ7VXX4iNASZmsVPz7KkTd/mh6VLYzF+taMq3bmTGBRFGfXGLvZ8Q MaIRYImirG3kOA0gay1K7fNHrHcRUvh8OElhSsjn8xHSzcZ0NVxjhp92jHgOcnxALWYn Mzbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@networkplumber-org.20150623.gappssmtp.com header.s=20150623 header.b=WDGtbCVB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v18si822593ejg.556.2020.05.19.17.12.15; Tue, 19 May 2020 17:12:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@networkplumber-org.20150623.gappssmtp.com header.s=20150623 header.b=WDGtbCVB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728250AbgETAGq (ORCPT + 99 others); Tue, 19 May 2020 20:06:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726379AbgETAGq (ORCPT ); Tue, 19 May 2020 20:06:46 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 430CDC061A0E for ; Tue, 19 May 2020 17:06:46 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id r22so585025pga.12 for ; Tue, 19 May 2020 17:06:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vqQJphs4dbH8l1OCiHVqe97WM4gwnpKo7IbEOxUcuq8=; b=WDGtbCVBE8fAUQyK7b2ulxbQd5NoTpIwjwmAiZ+xjWv23qgDFYqB+n3uEENMJF4evR eQybQUIovab5oL9uP2JzO7/swZQR7Lac/N+9LuMDnYRN/vux1dRM8Ai+UvXrMQDNSXds giu/CUiz0LCzZo+rFtSn5hr/VzyiBazjBkDWxSalBmaM+kZsF/jtgZp30ifXQT1tndDm K+cmlhk0mNBeLKQKLjGb4kejQKR5OPHQmKhNzy3M33KYeBeHFzFAx78BBq1Ia0Aqb/q7 iy8kDskGmclrjdQEtx9kzAivf9ZcpoqlwCE0HuGoG13qLjJvN7c+Be8TZbWz/AnWavDM W6Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vqQJphs4dbH8l1OCiHVqe97WM4gwnpKo7IbEOxUcuq8=; b=nSGcnpyt/xvM1eDBFuVLPjdsVlwUNWdYYP/d3gdYJhk3ngwoIWHgzAA4TbnYKJupvz gJ3M+9jdqzwQm9/4NDUQtNjw/M6vJpvhs1ZnFN9Yuf0tHeamaXt86DzD/edjm0G9wk6M P51AUuqhwsFrYqRXJQ0Lqtm0B69EB1NQyGmI4p7cVafKWs+6s4gPUuUsaYVmi4gAsLAV FPZjKmdmkqJAmWrUM2MHmmZtoZktaJG5QNXxwK2MRrb139yvJhXAypU3EVlbdDgcZKGT v2Md7PpNabue+1cKVHm8979eMlx0ggxgSaGdT6D0P5V5LdkM3F8BnpS41lRV+aXcPHQa TN7A== X-Gm-Message-State: AOAM532sT/h8ky1KqfjaXTbVSXvcil+/xqvdwdyyKOcoZmXqeMT8h+W9 pBvpk6meNGWdKhCq7Vb15AgaBA== X-Received: by 2002:a62:1cc9:: with SMTP id c192mr1482493pfc.197.1589933205590; Tue, 19 May 2020 17:06:45 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id v1sm452386pgl.11.2020.05.19.17.06.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 17:06:45 -0700 (PDT) Date: Tue, 19 May 2020 17:06:37 -0700 From: Stephen Hemminger To: Thomas Gleixner Cc: "Ahmed S. Darwish" , Peter Zijlstra , Ingo Molnar , Will Deacon , "Paul E. McKenney" , "Sebastian A. Siewior" , Steven Rostedt , LKML , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org Subject: Re: [PATCH v1 01/25] net: core: device_rename: Use rwsem instead of a seqcount Message-ID: <20200519170637.56d1a20a@hermes.lan> In-Reply-To: <87lfln5w61.fsf@nanos.tec.linutronix.de> References: <20200519214547.352050-1-a.darwish@linutronix.de> <20200519214547.352050-2-a.darwish@linutronix.de> <20200519150159.4d91af93@hermes.lan> <87v9kr5zt7.fsf@nanos.tec.linutronix.de> <20200519161141.5fbab730@hermes.lan> <87lfln5w61.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 20 May 2020 01:42:30 +0200 Thomas Gleixner wrote: > Stephen Hemminger writes: > > On Wed, 20 May 2020 00:23:48 +0200 > > Thomas Gleixner wrote: > >> No. We did not. -ENOTESTCASE > > > > Please try, it isn't that hard.. > > > > # time for ((i=0;i<1000;i++)); do ip li add dev dummy$i type dummy; done > > > > real 0m17.002s > > user 0m1.064s > > sys 0m0.375s > > And that solves the incorrectness of the current code in which way? Agree that the current code is has evolved over time to a state where it is not correct in the case of Preempt-RT. The motivation for the changes to seqcount goes back many years when there were ISP's that were concerned about scaling of tunnels, vlans etc. Is it too much to ask for a simple before/after test of your patch as part of the submission. You probably measure latency changes to the nanosecond. Getting it correct without causing user complaints.