Message ID | 20210608175928.505394675@linuxfoundation.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp3994860jae; Tue, 8 Jun 2021 11:30:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPB0Zu9xyq9xjNPLYN1B12ingQ8fS4+c7SGYYv5SQhSlcVA5FdvBTrlC/px34vQbFH8ENh X-Received: by 2002:a05:6402:b89:: with SMTP id cf9mr27591360edb.198.1623177051989; Tue, 08 Jun 2021 11:30:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623177051; cv=none; d=google.com; s=arc-20160816; b=NJSTFOjiLGelw4Gw7dT3OkZzGp8Ps0JmyVO32Br7q3Jds6fRInQ1xkbUkWpMhQ4MoU l2k2iXVEXtRlhi2GA7ZLL9yQbFLKJBzd1ua79mJ0YaFPs2fHX+7Fp/CXGzp2F0SSivkz WRiMKn9P94Ijt3PhQQzGU8P0h7G4oCIYkHz2Od7kZX7QAEARjGiVInTe32sr+GSHxdo+ uXkq5R7GUb0P8JJV3Wb0WhDbygRfdiY+yEuNKrLNJEt3q9he5i69/lFLDFm+F389I/XR MuEM72nHaBXRVIS5gnStyaYTH4FTSLYkN5C5ebRSK/HnUmjkreCh68FSDojXQdzQNLJm GZ/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=qq4aWG9SxtQ6/7Gvzc2qRPmfEDYxqCIJtU6yg+QpEDs=; b=l9EJxnA+WdVUR0ukt5rE7Z/eVvbDHU0mzl/WEh/9tv78j9H1yiq97TV6cgm4yMTCoD tzQZyr01GMtesw7LiMWn8/7dD70Sqz8w8UH4fAA/WX39aWP3qWS2Xgyo6PyMm3TKxtfk G8+GS/bk9JkrBdVNof+OII6xPmBVmm0Q9w1aANBuoH0jGKS711AQJ6lIoErLzWxY2Ptp XLa0B523Oj+F/YpRhH+ETCWTL4t06RyUZPVFYZ2CfW9vIk5YfbLB7q/5WiuuCaTDOpNH 70WDiCXDqiWhKFqQq4a/680sLvjtQhc00giGYcBvSHyZIqGI6TxYxGjxjSfvs5sXSk9U daVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SlvSkVa5; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e17si416787ejm.271.2021.06.08.11.30.51; Tue, 08 Jun 2021 11:30:51 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SlvSkVa5; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234435AbhFHScc (ORCPT <rfc822;semen.protsenko@linaro.org> + 12 others); Tue, 8 Jun 2021 14:32:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:56958 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233603AbhFHSbv (ORCPT <rfc822;stable@vger.kernel.org>); Tue, 8 Jun 2021 14:31:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8F3D3613BD; Tue, 8 Jun 2021 18:29:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623176998; bh=6SU8kpbSsRnPbOKNw1kw0rqc+7ngXbluko5dKSxa0wc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SlvSkVa59a7luLP1c0ue2NS19QjUgblRBMAO/4gPuvoLECNmlK2ri22Pb7++QrQjc oznd/uc+XTJrmAwkxv5ghklTi2i0lWG+WlvAu56iPX7eQEqbWGQ4sPMUzAsw7lXgDo CEaRBXWN+LJUvkTVZ/NiRcfisONP9G1V5RIOc8fg= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Mark Rutland <mark.rutland@arm.com>, Christian Brauner <christian.brauner@ubuntu.com>, Cedric Le Goater <clg@fr.ibm.com>, Christian Brauner <christian@brauner.io>, "Eric W. Biederman" <ebiederm@xmission.com>, Martin Schwidefsky <schwidefsky@de.ibm.com>, Paul Mackerras <paulus@samba.org>, Andrew Morton <akpm@linux-foundation.org>, Linus Torvalds <torvalds@linux-foundation.org> Subject: [PATCH 4.9 21/29] pid: take a reference when initializing `cad_pid` Date: Tue, 8 Jun 2021 20:27:15 +0200 Message-Id: <20210608175928.505394675@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210608175927.821075974@linuxfoundation.org> References: <20210608175927.821075974@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/init/main.c +++ b/init/main.c @@ -1005,7 +1005,7 @@ static noinline void __init kernel_init_ */ set_cpus_allowed_ptr(current, cpu_all_mask); - cad_pid = task_pid(current); + cad_pid = get_pid(task_pid(current)); smp_prepare_cpus(setup_max_cpus);