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 A685FA0567 for ; Fri, 13 Mar 2020 11:04:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4F53A1BFFF; Fri, 13 Mar 2020 11:04:24 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id B75501BFFF for ; Fri, 13 Mar 2020 11:04:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1584093862; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t+DYBzTSVCPeSjSLCYljNyU04GpDoRdDnFdYx3U+N6o=; b=B+jBj+b1MxeukpGudQu+8rKv2qmmYdzyrRxs/WUBTNTPQTMCoCexbQQnYYyimj9q0CXFf0 XcnZdJZQnVAAacv5QGO4GHHX3Ba4Mk8UoR3TPHARYNViyr4+Fsku0ffR6qGXFx1YoPk4sA 3/UjjYBuXb0XHyZ/MICdRy66p03JbQc= Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-263-cYnKT7N7MrqiuVW-qiwdew-1; Fri, 13 Mar 2020 06:04:19 -0400 X-MC-Unique: cYnKT7N7MrqiuVW-qiwdew-1 Received: by mail-vk1-f200.google.com with SMTP id 133so3543064vku.16 for ; Fri, 13 Mar 2020 03:04:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1HyJ8djhxCWV36W1ESTNiYga22ceC/CufuJD4KoJ0Mo=; b=BM2606MiK3afCxHbfoSbLA4FqkpyjHYoO+kq4fNpzRo9KmjiCE3Cmczj9HRMftm5wk cakfBBDmaXzUgEjjQ1Yd/UUNvJ2boUPL6e8ylATgGSIiHyQ+Gi+xAz63k8lR+aPUd58y vfCudBS5+EgqE6JqowmsyvX+F2wJcHz5k+JPEQOQTqaCkjPQ2py4HJWKXfm77IJg1kIf hhukFcGkAQoff7d0PdqNgOJ4HL06P8CoSLcjvLRL4bhf51//DFRyq+WtjyBfTJGXiHS3 TrITGEzWeYSPgP02064miFh6WnRD1i04f99SqhnrBHndJLW8AcIkHnDP5IPL5i1Ys5Xr fJ8Q== X-Gm-Message-State: ANhLgQ0OfIOht3esS37xOi98N3Nb1eurOPxYWbtnCBqz/8WaBwkR/Giq yOil7yzZV2N8SG6ou0MfFmgyxO9kPfLxA1UwiARENuAfQz8rZnE+d6wexX6n1qme1QveTUx95k3 h7pWMLkK0BWMCZASHtuyJKgE= X-Received: by 2002:a05:6102:30ba:: with SMTP id y26mr8453132vsd.198.1584093859320; Fri, 13 Mar 2020 03:04:19 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt9GnWiBns282BXQJN6JqDME8xqvqZOMu8Zg6L16Os1oo++ZZYLm9P9yhEs5goh3hAg0V+k3EEZoe+eUzCbr1Y= X-Received: by 2002:a05:6102:30ba:: with SMTP id y26mr8453120vsd.198.1584093858995; Fri, 13 Mar 2020 03:04:18 -0700 (PDT) MIME-Version: 1.0 References: <20200310133304.39951-1-harry.van.haaren@intel.com> <20200311143927.76021-1-harry.van.haaren@intel.com> In-Reply-To: <20200311143927.76021-1-harry.van.haaren@intel.com> From: David Marchand Date: Fri, 13 Mar 2020 11:04:08 +0100 Message-ID: To: Harry van Haaren Cc: dev , Aaron Conole , dpdk stable X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-stable] [PATCH v2] eal/service: fix exit by resetting service lcores X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Wed, Mar 11, 2020 at 3:39 PM Harry van Haaren wrote: > > This commit releases all service cores from their role, > returning them to ROLE_RTE on rte_service_finalize(). > > This may fix an issue relating to the service cores causing s/may fix/fixes/ > a race-condition on eal_cleanup(), where the service core > could still be executing while the main thread has already > free-d the service memory, leading to a segfault. > > Fixes: 21698354c832 ("service: introduce service cores concept") Replaced with: Fixes: da23f0aa87d8 ("service: fix memory leak with new function") > Cc: stable@dpdk.org > > Reported-by: David Marchand > Reported-by: Aaron Conole > Signed-off-by: David Marchand > Signed-off-by: Harry van Haaren > Acked-by: Aaron Conole Applied, thanks. --=20 David Marchand