From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DABC7A2EEB for ; Fri, 13 Sep 2019 16:42:48 +0200 (CEST) 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.