Message ID | 20210608175927.095013842@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp3994225jae; Tue, 8 Jun 2021 11:30:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbxdRklbTujdXUNweGwMQljJjtYkXC8+017gTum6gYx8pMIr1j9LH9SiVW1ztE0qB7nzC0 X-Received: by 2002:a17:906:f0a:: with SMTP id z10mr25465356eji.115.1623177018069; Tue, 08 Jun 2021 11:30:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623177018; cv=none; d=google.com; s=arc-20160816; b=l2CBvz5b6kHIwrnWuA6valVrm8yIo8501tymazCADlbiShAAAjGzuYd6WWOndkZkqN 9epT2BsePXgTmVmoEOYqm0O1MKuzfNEopAuBUgkPlUKIttzv6CP4QudVbKc+NT3QW13u zj/76M0rEV3m1HnUq455L0SKf0jW2CWhwRElz+BNo129s/FdiWLj2L3D4cPVOr8eoP/n tZJvhMix1gMmpdjRwM3evjdbEZDYGYjhrIEDzWVoL7hkP/MKQpwzkjHTYBd3lhsVCoYt oVSTu18Fs4OZLsj2/ZqtrnA6rpNAu/LlsknlDuf25eUvLYmVFVJERF00SNdsD49fpOcm YLKg== 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=d/BEheMCsp6tJvvkj+v6SByswLS1bXNcE/OQrqGx5q0=; b=E127aQfdmlm0Ljew2O/2ShYPHqs6vVr97qAJJG9Xt5rexntCLQtAjkmNTF0wyJaP01 pG4Z09bFDpIo2a86oR8xoH2H9qPou5WNBHQUleMm2eCnddCpyqf/BPgQX9XPrAxvG40L p7WlaXTGfe24RzvCXqd4Eouu15RpJ83T6IUkStB/ZSEk+5teJQ6GIjML01aLg+P4jMT2 9Wcmq4XODGzp1VbR5euEUHyb96BhR1bAweG2R0Li61u7xh3HFoggTtHR31CxcES1ZAw6 DAUX43CgpXIESMJC+KkZyeFLR1zrbDS5QyKWeTAJEAjY4n63wH1w3btRFXmBJkrV1Rhh aWAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=w1Gd6+tu; 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.17; Tue, 08 Jun 2021 11:30:18 -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=w1Gd6+tu; 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 S234069AbhFHSbC (ORCPT <rfc822;semen.protsenko@linaro.org> + 12 others); Tue, 8 Jun 2021 14:31:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:55402 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234043AbhFHSbA (ORCPT <rfc822;stable@vger.kernel.org>); Tue, 8 Jun 2021 14:31:00 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C6168613BD; Tue, 8 Jun 2021 18:28:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623176931; bh=hv6Cx92D1GhxtqEGoD/jG1K/qYa0/KEHnH+Wp3T4aHA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=w1Gd6+tuCk/YQkkGwJubxh1knH/beaRQmeaTV0fTGSFiGp3dr4mGF4hTmG/EjqmvN 1ex562SpfhmmRoFgg/LiViA3WhMRg3Qlcyf4wrjxYLgz/8bNHUTS6UBH3wDfuiWBD8 DJLUOQfXu9+NiAirJF36uZRGZ6/mt3Sy+TAr7WYs= 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.4 17/23] pid: take a reference when initializing `cad_pid` Date: Tue, 8 Jun 2021 20:27:09 +0200 Message-Id: <20210608175927.095013842@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210608175926.524658689@linuxfoundation.org> References: <20210608175926.524658689@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 @@ -997,7 +997,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);