Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp104075ybk; Tue, 19 May 2020 16:45:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMXktwp+5p4rKojtGM9LKwUxlNFAFUSnEusjC+Jek7PvBR6r372cUfEkjCdt6nyxs7CyLj X-Received: by 2002:a17:907:aae:: with SMTP id bz14mr1422082ejc.521.1589931941128; Tue, 19 May 2020 16:45:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589931941; cv=none; d=google.com; s=arc-20160816; b=arfqohqVTLPu9tVujwPWLK3HZz0ZisiTc5IKJQQXmB0zGdmijz/Rdpqhudn/xgagcI DktjIqVjuACThJYS+Kx/nIremwlSrmJwXI61dKq53zuRzsoaQPbNh8hgrxB/1/XtX8QB e68WNNwJBxacXikxVcbHNBve7k0pQTGHnPZ9aU7pooE1l9fktxPQC1cC2HeOpxAFyfeq nA9CDcnCqnNga3Qcc1z85IQQJ/3RsupUeodnqBGz451r75xTj73F8Q1593bfx7IU4d2w j89rZDoJuyvo2H8TAnB47pt6aBPl7w09GaFhiPLU3mnnapR6iern0RDoAGrkUjfbyqQj d6/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=wwWWTJGk34FMXCf9xd+fG4W5nYNlab9Wj2hhIRUQGv8=; b=n5yAZX5qqA4iLx/Ht3trgkLT4KXQ+w9uz9CiRONzylc0lf8RSPjcEvQyzgjM/Nt/E7 7INB8IyDTgOrGbzWXRT3CINAOldtex/00tXdxnFGbiQUfwadKDcGfSp6A/fsWGzTGhz2 KvEDGncXhEXMf1nnlV83eArTd34G+D1g8UVxP6LknH5XY1pdKMshd1cffuz6nxei8A3j tme1jFdkeqX2wAqmkP4rXhu+Qg5bmCu+JHEtNaNeCKP7JFR+uFoluGeOfjxpSPlHK1DY KH5KCdffSNEjNgiusWKjskqGqkXAmXU0uhz/VApbI8kH3+gXe/yim2hjpBIsUDTUV1YB bK9Q== ARC-Authentication-Results: i=1; mx.google.com; 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 x25si514914edl.429.2020.05.19.16.45.18; Tue, 19 May 2020 16:45:41 -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; 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 S1728043AbgESXnR (ORCPT + 99 others); Tue, 19 May 2020 19:43:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725998AbgESXnR (ORCPT ); Tue, 19 May 2020 19:43:17 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BBF9C061A0E; Tue, 19 May 2020 16:43:17 -0700 (PDT) Received: from p5de0bf0b.dip0.t-ipconnect.de ([93.224.191.11] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jbBsV-0004NU-41; Wed, 20 May 2020 01:42:32 +0200 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id 6D1E3100D00; Wed, 20 May 2020 01:42:30 +0200 (CEST) From: Thomas Gleixner To: Stephen Hemminger 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 In-Reply-To: <20200519161141.5fbab730@hermes.lan> 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> Date: Wed, 20 May 2020 01:42:30 +0200 Message-ID: <87lfln5w61.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?