From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 10459A00C4; Sun, 6 Nov 2022 11:49:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A371A40691; Sun, 6 Nov 2022 11:49:00 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 188D34003C for ; Sun, 6 Nov 2022 11:48:59 +0100 (CET) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 9B33262; Sun, 6 Nov 2022 13:48:58 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 9B33262 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1667731738; bh=JtM51K05finJ8IjizO7enwmZEuLH4S1uZ6lnZcUrz8I=; h=Date:Subject:To:References:From:In-Reply-To:From; b=d1xJUnWyoiW824vEaMP1zg72Vr4rgSg+aXux0opV5rSZv+lTNvJ1xA3KMHzktQW4T CjLnRWFnd29cf2VLivEE7htN+ljmB7hVUZleUYg0wx04JvUdGg4aSGMDUIJerWjma/ roQcBfZeVs3XehPc0q2jzyc4zNsvsP4PIcXY6/s0= Message-ID: Date: Sun, 6 Nov 2022 13:48:58 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [RFC 1/2] testpmd: make f_quit flag volatile Content-Language: en-US To: Stephen Hemminger , dev@dpdk.org References: <20221014172328.185219-1-stephen@networkplumber.org> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20221014172328.185219-1-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 10/14/22 20:23, Stephen Hemminger wrote: > Since f_quit is set in a signal handler it needs > to be marked as volatile. Otherwise, compler is allowed compler -> compiler > to optimize away access to it. > > Signed-off-by: Stephen Hemminger Reviewed-by: Andrew Rybchenko I need non-RFC version to apply it.