Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp1061995ybs; Mon, 25 May 2020 06:22:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDh0b2oJZ5oF8gu5eHZeo9e+Af6MkyaY7mwuJ8N142fu6jdc++sRR6XI74BBlXuFb65jbt X-Received: by 2002:a17:906:90c1:: with SMTP id v1mr18061768ejw.322.1590412951908; Mon, 25 May 2020 06:22:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590412951; cv=none; d=google.com; s=arc-20160816; b=yLN78qubvZuOyJaLeaYKTE8i+fdCN1m7R8WKM81D1Vmi8Lml5Dntlk3HaJUbtb4FEY h0iNbIb5Y0qdUqxsBEGp/Gie0r2YOIzNQtA50XMMiSYFFdqOl/uRTpI6ZnMXB+Fr1OFK skF5PZCFBxofTGPwhcrcYBwmHqRbHkucjzJP3uIZ35P7oSWWmFU9r9i6tklfb5D58K/A FuDpOLhuKfnI7h8zjuATkydfbgZ11ElyMUDFFZcSJvMiRWJuqlwoW8J4DTmG3nkcSvLx N7EZNazuIucmEwE04LzVJL3CwyowPfxcU7ijcG6T/FFMCwz8t6JwlYsLgfLgQOFSuRmi 0cRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=MJttDWRjUB0iYxqsplzNq2BTjGePNN+JTxhPLsQCxlQ=; b=VobS69sobFVsGnQ1Wwdu9PCEFhb9Z0vaXTX6r3c5GJx7vjz2jBzRk2p3ey5qIZK0un cbhlVWn1qWK0X7l5Md5qEw/U2fyez/3myyXY8I6hRXdt/1okWaUrbTM0cruNqEQ2C7Qc AVHuBtGhNZTEMjVQ8XCc1NIvwqUg17ZyoqV8ok/+0OaPca2wi4byUcX3SUuUTHjGpmGj c5mhJHYSmYWlK2HESjGIkT04Idxvr0zycRTtAxHzKlX3zrXIx+btLb9IxO95yXF2I5bG 97iVAbYR14kR7jZnOzqjNmZ/D437/hYJaVKFg63pDh7Fi8n5a7J2eTMGtpa5cEwetoBZ WksA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NHBKsrIY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r4si8866033edf.475.2020.05.25.06.22.08; Mon, 25 May 2020 06:22:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@redhat.com header.s=mimecast20190719 header.b=NHBKsrIY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403804AbgEYNSG (ORCPT + 99 others); Mon, 25 May 2020 09:18:06 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:57672 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2403779AbgEYNSG (ORCPT ); Mon, 25 May 2020 09:18:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590412684; 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: in-reply-to:in-reply-to:references:references; bh=MJttDWRjUB0iYxqsplzNq2BTjGePNN+JTxhPLsQCxlQ=; b=NHBKsrIYKHmzC90qHZMJdi57JFMW1oxFhbTvbIjQ7I2ThXtgPhXjnfTNnOo7/3yoZ4qewr 6Kqsja6U7jLB2pIpqy2cVLSvv9W1CkFw+ZesSEWLA0SYNTT4TJeRm5AR8CusoCOVnbCUdo Hwdi5p7VUMFsp/YJm1o+YY5AbOphFpY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-371-jG5GRwolOYeYfIkBpcRzNw-1; Mon, 25 May 2020 09:18:00 -0400 X-MC-Unique: jG5GRwolOYeYfIkBpcRzNw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 823521005512; Mon, 25 May 2020 13:17:57 +0000 (UTC) Received: from madcap2.tricolour.ca (unknown [10.10.110.46]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 85F6310013D6; Mon, 25 May 2020 13:17:44 +0000 (UTC) Date: Mon, 25 May 2020 09:17:41 -0400 From: Richard Guy Briggs To: Amol Grover Cc: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , James Morris , Thomas Gleixner , Jann Horn , David Howells , Shakeel Butt , "Eric W . Biederman" , Andrew Morton , Paul Moore , Eric Paris , "Paul E . McKenney" , linux-kernel@vger.kernel.org, Madhuparna Bhowmik , linux-audit@redhat.com, Joel Fernandes , linux-kernel-mentees@lists.linuxfoundation.org Subject: Re: [PATCH 1/3 RESEND] sched: Remove __rcu annotation from cred pointer Message-ID: <20200525131741.s6lgb263fpo5uszk@madcap2.tricolour.ca> References: <20200402055640.6677-1-frextrite@gmail.com> <20200524081117.GA29@workstation-LAP.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200524081117.GA29@workstation-LAP.localdomain> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-05-24 13:41, Amol Grover wrote: > On Thu, Apr 02, 2020 at 11:26:38AM +0530, Amol Grover wrote: > > task_struct::cred (subjective credentials) is *always* used > > task-synchronously, hence, does not require RCU semantics. > > > > task_struct::real_cred (objective credentials) can be used in > > RCU context and its __rcu annotation is retained. > > > > However, task_struct::cred and task_struct::real_cred *may* > > point to the same object, hence, the object pointed to by > > task_struct::cred *may* have RCU delayed freeing. > > > > Suggested-by: Jann Horn > > Co-developed-by: Joel Fernandes (Google) > > Signed-off-by: Joel Fernandes (Google) > > Signed-off-by: Amol Grover > > Hello everyone, > > Could you please go through patches 1/3 and 2/3 and if deemed OK, give > your acks. I sent the original patch in beginning of February (~4 months > back) and resent the patches again in beginning of April due to lack of > traffic. Paul Moore was kind enough to ack twice - the 3/3 and its > resend patch. However these 2 patches still remain. I'd really > appreciate if someone reviewed them. I asked on April 3 which upstream tree you expect this patchset to go through and I did not see a reply. Do you have a specific target or is the large addressee list assuming someone else is taking this set? All we have seen is that it is not intended to go through the audit tree. > Thanks > Amol - RGB -- Richard Guy Briggs Sr. S/W Engineer, Kernel Security, Base Operating Systems Remote, Ottawa, Red Hat Canada IRC: rgb, SunRaycer Voice: +1.647.777.2635, Internal: (81) 32635