[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH v2] arinc653: move next_switch_time access under lock
- To: Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Nathan Studer <Nathan.Studer@xxxxxxxxxxxxxxx>
- Date: Mon, 24 Mar 2025 15:38:20 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=dornerworks.com; dmarc=pass action=none header.from=dornerworks.com; dkim=pass header.d=dornerworks.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector5401; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vMvSwHJWGCUu+Hy1vhGJbsbE9FBQNQNYLG/OUhrwbqs=; b=aCldGLhveis+kiVWK9RN5W5Uh1JNV3Uu1rrcSeuBTGp4B8NgUlfY3oWEzPJvV3bPvxCQu6pr3OK2UZbuKh1EsaqlXSJZ5ii+rLTrjJWV3yzrOReGGQ63mzI70RfDhIf+9kRd9pv3eCf4CQdL0MedABlXGUDYDp75HFmkBzN0ErFKzxHBhrMqoF0n27fcV0XsjMDalPAmL8wLNZCc3+7UkThh4xb7eKoJhMf6AacTUqbkzXFeLrEjkBVhUoBRsynO4XLo/XrSC6abxU9wV33C2td8W3Pwg5x9D1pft31WVj6NP/fGUDJaaBZtdYzxCmdvkHRCjLDJy9heH5OXIuEQLw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector5401; d=microsoft.com; cv=none; b=VqZtTKpABAIYSleuwmnMHhNMnyIFsbOpfJYC2+XTTtZ4MpxZ+oCXdKcHtwEf7G0MZLuv6mYz/J68XsW6kMW5xlrgwJEbpL/2VUae5RuiAgScmRK8gad7kZnNcNChd/PW/p0iRHA5ZlA6KfydvpwD5ynLjIBxmix0ZOBEJHfsWSvaNbHNq7HzjKyALDIZPP6KEa3chpI+k44RD5Jl+zb+IEJfkJFy2kl8asfUk1QP6PQrJ24Y0k0ES9hckzeKGKrZ9WtAupIs9Lo/2OHSuCP4/7q3p+URG7zFfVhdIvA5ALOcWU0WYavZD90N6/67LBKZibC0fNEtupX+CqxtfAe/NQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=dornerworks.com;
- Cc: Stewart Hildebrand <stewart@xxxxxxx>
- Delivery-date: Mon, 24 Mar 2025 15:38:38 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHbnMukIEKfBYQg6ka2nNYRWSyAuLOCay7A
- Thread-topic: [PATCH v2] arinc653: move next_switch_time access under lock
On 24/03/25 10:47, Jan Beulich wrote:
> Even before its recent movement to the scheduler's private data structure it
> looks
> to have been wrong to update the field under lock, but then read it with the
> lock
> no longer held.
>
> Coverity-ID: 1644500
> Fixes: 9f0c658baedc ("arinc: add cpu-pool support to scheduler")
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> ---
> The Fixes: tag references where the locking was added; I can't exclude there
> was
> an issue here already before that.
> ---
> v2: Put comment in appropriate place.
>
Acked-by: Nathan Studer <nathan.studer@xxxxxxxxxxxxxxx>
|