From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vs1-f69.google.com (mail-vs1-f69.google.com [209.85.217.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7967441D134 for ; Wed, 22 Jul 2026 16:21:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.217.69 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784737298; cv=none; b=R/Aq7L+HoaOCkD3HIxwJJgKgaMlvvtatV9BfxyAhRq6um8wtxgFokG6C4Qfp1NWYDPAjMeczZmnc5cLsb+EUMHnWRRdoQKESVNy5QPTIOzmZajoKkeHUzugKLVuZrlFr9VCu35ePU39n+jM46ZIdpGjVZt7vdmXghZkqeLqia5Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784737298; c=relaxed/simple; bh=xxKyBPOd9PhQEIiuhI2I0kJjgACoLXtBzCwkT97oGSA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=e5jWkbz2idbewHOi/rKbj14IY6m5RLXGuLTwjWVtgjOHaN16qYhpI6/7NZF5UiNh42RnKf6+4HnMfUv8N4rDwp2/NmfJ20FEpoZSU+vN99ZZnl9dbwPGvbVoJxokQrkqmNNBGZK0aXrXhS80ITV7x9XjBG+dBHQCnLFS7lxst90= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--thaisonphan.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=o7hS+BKs; arc=none smtp.client-ip=209.85.217.69 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--thaisonphan.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="o7hS+BKs" Received: by mail-vs1-f69.google.com with SMTP id ada2fe7eead31-744e806f474so3283361137.3 for ; Wed, 22 Jul 2026 09:21:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1784737296; x=1785342096; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=xxKyBPOd9PhQEIiuhI2I0kJjgACoLXtBzCwkT97oGSA=; b=o7hS+BKsgT8NLsXx/MC77lBBNC3MnT0nWrUBosXpBATLv0rsA7eGQcjpmea+UPVVbx vR2vY6Lhuc20bBJDHQAXxFVv/6NI6Vvy2pfsvV2PtTQvm0UCtCOQVUlqcuCtZLJUZThr GnviBoJD27UD6BIgolehLLVoZA3gx9V1BqbG9mDYo/mY7P2P9d6HZboNLXqpIOl2sPCZ g0c0oSkA/OXfdj/d/3Ff4Y/udBwQiZC8V8l10ALqBfwRKNkR1OqDyMOlOj4L/4zFswA9 R6dIlTh13DAro0cIZovNYG+x7qWnbiUL2I+3D0+xRZPOoqblqayN0hC7w4Gwy+fBrPGN jJjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784737296; x=1785342096; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=xxKyBPOd9PhQEIiuhI2I0kJjgACoLXtBzCwkT97oGSA=; b=e61caOx2DiYl+w7EL0O4P1QPgT6JDrn+BKBnaLGuJTgNxdCsjd7zWqL4TVKSn1U8b/ BdO7fDvR1avJpWk/9s/Wtcg88daJquwFYbwQk37x4p3AzB4wYC8XGmSZ2bTCmUrpEmFy swZoOLPxHQIxMTVLIMYUrGGGUR6l89o+x0ED/RWbDGT1Zagai64NXsgN1vF5/Qci7yfH becRNbFvdvzKILqpSseABlm+Ifb21zDkDyh/KULz+S0+EVbVB9kGfisjgDQ5aHSrHI78 76G+Bl3BuWMgaPDa6GNz1LU4XPx2evw/A4Z7t5r/e2GSUbxGGT6l+LYGOV2kSRPhhV1z F+DA== X-Forwarded-Encrypted: i=1; AHgh+RpbzXfqikxJSj/MYkf8hyWzBBAzUV+nqKkXLgcxkAuTNjBDKX674F+wk3zNQYstdUEuWmh60xKOb2tCOHE=@vger.kernel.org X-Gm-Message-State: AOJu0YzQaPu1tqGjjtmcYCx9sZkgxByS/nHQl3j0i8fVmKQGGLVor+IW v/TzY5GZxjupjeDedoHD5zoi1PkS4eR6V2GpmmhFQQ5i4Ow0MybeMXJ5knFGSVg6GjD2Da5iJQR aLEGWk2CdrN56OfQ9yxDb23mabQ== X-Received: from vsbjq9.prod.google.com ([2002:a05:6102:6f09:b0:737:4dfb:a6e8]) (user=thaisonphan job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6102:61c7:10b0:74c:594:4847 with SMTP id ada2fe7eead31-74c0594668dmr725571137.25.1784737295957; Wed, 22 Jul 2026 09:21:35 -0700 (PDT) Date: Wed, 22 Jul 2026 16:21:35 +0000 In-Reply-To: <20260721115339.09a3ea0e@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260721115339.09a3ea0e@kernel.org> X-Mailer: git-send-email 2.55.0.229.g6434b31f56-goog Message-ID: <20260722162135.331826-1-thaisonphan@google.com> Subject: Re: [PATCH net-next] selftests: net: update wait mechanism for relocating From: Thaison Phan To: kuba@kernel.org Cc: davem@davemloft.net, edumazet@google.com, gfengyuan@google.com, horms@kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, petrm@nvidia.com, shuah@kernel.org, stani@google.com, thaisonphan@google.com, willemb@google.com Content-Type: text/plain; charset="UTF-8" > I don't get it. I never saw it hang. And if the event is scoped udevadm settle > should return immediately, rather than hang. We generally run on latest > systemd udev in Fedora and CentOS. Please explain your problem better. Thanks for reviewing this. I looked into my issue further. I found out when I run into the hanging problem, the machine that I run on is using an internal Linux distro that turns out to be running an old version (182) of udev before it was merged to be a part of systemd. The source code for udev I was referencing was out of date where it looks like udevadm settle relied on an internal uevent sequence number to match up with a kernel uevent sequence number. At some point I think it was a known problem that these sequence numbers could become out of sync because udev would never get uevents not tied to the default namespace. I checked the upstream udev and saw that udevadm settle was refactored, so that sequence numbers are now deprecated. This patch is only applicable for versions of udev without the refactor, so there is probably no reason to upstream it. > Should be a separate patch Sounds good. I'll create a separate patch for the exception fix.