From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C21DBC49ED7 for ; Fri, 13 Sep 2019 14:42:49 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 8480220693 for ; Fri, 13 Sep 2019 14:42:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8480220693 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B44861C0B8; Fri, 13 Sep 2019 16:42:48 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id D89841C01B for ; Fri, 13 Sep 2019 16:42:47 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 31714308FBFC; Fri, 13 Sep 2019 14:42:47 +0000 (UTC) Received: from dhcp-25.97.bos.redhat.com (unknown [10.18.25.226]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BBD875D71C; Fri, 13 Sep 2019 14:42:46 +0000 (UTC) From: Aaron Conole To: dev@dpdk.org Cc: Jeff Guo , Thomas Monjalon References: <20190808173835.5949-1-aconole@redhat.com> Date: Fri, 13 Sep 2019 10:42:45 -0400 In-Reply-To: <20190808173835.5949-1-aconole@redhat.com> (Aaron Conole's message of "Thu, 8 Aug 2019 13:38:35 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Fri, 13 Sep 2019 14:42:47 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH] test/interrupt: account for race with callback X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Aaron Conole writes: > Because the eal interrupt framework can race when invoking the callback > and a separate unregister call, the test needs to accommodate the chance > that the two collide. Do this by checking the return value of unregister > against the race-condition flag (EAGAIN). > > Fixes: f1a6c22424ce ("app/test: update interrupts test") > Signed-off-by: Aaron Conole > --- Ping. Still see these failures.