Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1195462ybl; Fri, 24 Jan 2020 17:46:03 -0800 (PST) X-Google-Smtp-Source: APXvYqwUm5G/RMIMnPJKV6p7N3s8jjiCLrkDDylv3z719oV6AU0Jh4azUiuPfquhpM1mxhHgPK+M X-Received: by 2002:a9d:5888:: with SMTP id x8mr4656065otg.361.1579916763348; Fri, 24 Jan 2020 17:46:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579916763; cv=none; d=google.com; s=arc-20160816; b=ckR4GY0bmnAOb1piLz+NS7p70BkWz3+xC0qyxX5YfPhgUTfcjaBCmf28WmEvBEpuL1 4R5FxWJ5dDfYaLsr/uGCNBJC4rXUFY0QLsQ6f73m0p/k6Yg6f8RzDPci65uNQKjM2LoF wny0QtCbAqS+20Q7WtHa7zl8PyiyXsx0XGRWZY7hrGggCfs2SquJ2uq3l7EftP5wszHn 9MULOpNp9VQTdc6AykRSWm0sulSYOTJtqToKN2IpgJpoWfg+0Nx81+mPHPn7QvuYA6Hi YPwwVjECYMfaIBMuG3VB6tAbPsnaWIyoy78Ta0s+VAGjOROK5RFBZ4la0k9Xeo6wFh+D 37uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:message-id :in-reply-to:subject:cc:to:date:from:dkim-signature; bh=YClYexq+U3tIz5ISpWhnb2Lm7QGjVoZX5YmTNUyCVtU=; b=hNiLpiXhCTk4Y8c429eIN/TxWBUj47wUQKJU+2jl6BzgN3GdSfNkGokJgMNhUxGptL KtmZu7I3iJvir5U6UOG9uitoZSNuhSsl8Ize36QX/GPfnoBbVbmFSmOmkKmbsO31TZFl RbF+vn1n7DctSIQjFIBh0coBXldjHJCjvAC1RCokZqIPl2htlOAubCWkQSy9qRe7044X pVTOAGOJlnWIcmIUomodKCEcP7b8020394sy9QcPSaVMgXZDnYU9BLc3rlIacPpNU4D0 /JLf2Jb2k8Nk4gJitfakVK+0YJ4Bav6em2DpSLEXK2LJjSxXi72JC10xsCuEvOR6RKPq YTrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YXJqv9wx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s17si4032446otq.78.2020.01.24.17.45.52; Fri, 24 Jan 2020 17:46:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YXJqv9wx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387677AbgAYBov (ORCPT + 99 others); Fri, 24 Jan 2020 20:44:51 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:42248 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387542AbgAYBou (ORCPT ); Fri, 24 Jan 2020 20:44:50 -0500 Received: by mail-wr1-f68.google.com with SMTP id q6so4287464wro.9; Fri, 24 Jan 2020 17:44:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :mime-version; bh=YClYexq+U3tIz5ISpWhnb2Lm7QGjVoZX5YmTNUyCVtU=; b=YXJqv9wxQBkENUOockt5+aawuWFcE0wjQdXFzS0iKKyqjk03J4QSI8OnPoMx8Ukto0 gmXP6S/ts2Rz9hzGwBNZbxQhx+0hFVnn79pwD30zGfclegT30v0jTVQOVyNeoebJI3E7 t/EaitjgD4Qr7m70Pd11HNAV21HhZSglJ9l68bt40JbMBlqQPBc9KN4slcvhvTyCFn+D AFBHdoSNZ+2bphDW6JBEcgJK21mQc9SrU4LyDpXf4/jsX9DEt3qyDKPLfOeeRkPRISJY vAyhTKPPqzgB5iBW9XGRTmPZYPQWnItzu0LO1P1UatayU2QnEssQZcO44ovwXy0oLyVL y3AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:mime-version; bh=YClYexq+U3tIz5ISpWhnb2Lm7QGjVoZX5YmTNUyCVtU=; b=tz5bKgdx8KVLpNFzyolFo6wozB7UPhKywm4+ZsRil4CPznVWA6G2bzyuLrnW+LYCpG LCG8DnEa7c6ZENZIsMaLpy/y6HtAdQYSnirMB5s0+ad7A3j4rYsHOV23+8Xr6hYG3Gdy xUCm+CKbyMjv+dYqCoxTFG0Q0pMK8kX7j36mIkFJKAELlXa6fYjBqnaTKKijXp6Uh0xc DeUtkI59yfqrOa6wxwio+V8zR3/zR41iPx0EJ23eMJuSStou2Xi87uKlu3Cf13drQP9j h37CsZSVDiD5z1ZqHA4MnL2eiWxg1GPN0wyvEMPp6U1L6E0AXyFzFPVLIlIiff4Plm0S Tv8w== X-Gm-Message-State: APjAAAWlQyPo93siD2JlGBxGbYh5jCOyCwR5jab2MEOVah/S1PqDgKJ3 1c64p9El6BWLc+/FDaQ7GQ== X-Received: by 2002:adf:e6c5:: with SMTP id y5mr8006042wrm.210.1579916687640; Fri, 24 Jan 2020 17:44:47 -0800 (PST) Received: from ninjahub.lan (host-92-15-174-87.as43234.net. [92.15.174.87]) by smtp.gmail.com with ESMTPSA id y20sm8534407wmi.25.2020.01.24.17.44.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2020 17:44:47 -0800 (PST) From: Jules Irenge X-Google-Original-From: Jules Irenge Date: Sat, 25 Jan 2020 01:44:39 +0000 (GMT) To: "Paul E. McKenney" cc: Jules Irenge , rcu@vger.kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de Subject: Re: [PATCH 0/5] Lock warning clean up In-Reply-To: <20200122012630.GE2935@paulmck-ThinkPad-P72> Message-ID: References: <20200120223515.51287-1-jbi.octave@gmail.com> <20200122012630.GE2935@paulmck-ThinkPad-P72> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks I am currently an intern with Outreachy program. I am happy to receive any comment or recommendation so as I can improve. Best Regards, Jules On Tue, 21 Jan 2020, Paul E. McKenney wrote: > On Mon, Jan 20, 2020 at 10:35:15PM +0000, Jules Irenge wrote: > > This patch series adds missing annotations to functions that register warnings of context imbalance when built with Sparse tool. > > The adds fix these warnings and give insight on what the functions are actually doing. > > In the core kernel, > > > > 1. IRQ and RCU subsystems: exactly patch 1 and 3, __releases() annotations were added as these functions exit the critical section > > 2. RCU subsystem again, patch 2 and 4, __acquire() annotations were added as the functions allow entry to the critical section. > > 3. TIME subsystem, patch 5 where lock is held at entry and exit of the function, an __must_hold() annotation was added. > > Queued for review and testing, thank you! > > I edited the commit logs, so please check to make sure that I did not > mess something up. > > Thanx, Paul > > > Jules Irenge (5): > > irq: Add missing annotation for __irq_put_desc_unlock() > > rcu: Add missing annotation for exit_tasks_rcu_start() > > rcu: Add missing annotation for exit_tasks_rcu_finish() > > rcu: Add missing annotation for rcu_nocb_bypass_lock() > > time: Add missing annotation for __run_timer() > > > > kernel/irq/irqdesc.c | 1 + > > kernel/rcu/tree_plugin.h | 1 + > > kernel/rcu/update.c | 4 ++-- > > kernel/time/hrtimer.c | 2 +- > > 4 files changed, 5 insertions(+), 3 deletions(-) > > > > -- > > 2.24.1 > > >