From mboxrd@z Thu Jan 1 00:00:00 1970 From: paulmck@linux.vnet.ibm.com (Paul E. McKenney) Date: Fri, 15 Dec 2017 07:52:18 -0800 Subject: WARNING: suspicious RCU usage In-Reply-To: References: <20171210190727.GJ7829@linux.vnet.ibm.com> <20171210193438.GP10595@n2100.armlinux.org.uk> <20171210213930.GL7829@linux.vnet.ibm.com> <20171212164900.GA6673@linux.vnet.ibm.com> <20171212173450.GD10595@n2100.armlinux.org.uk> <20171213091245.GH10595@n2100.armlinux.org.uk> <20171215063817.GX7829@linux.vnet.ibm.com> Message-ID: <20171215155218.GB7829@linux.vnet.ibm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Dec 15, 2017 at 11:16:43AM -0200, Fabio Estevam wrote: > Hi Paul, > > On Fri, Dec 15, 2017 at 4:38 AM, Paul E. McKenney > wrote: > > > For your amusement, I have a patch below that takes a paranoid view of > > the possible answers to these questions. This patch is untested and > > probably does not even build. Plus its polling loop is quite naive. > > I tried to build it, but if fails to link: > > LD vmlinux.o > MODPOST vmlinux.o > arch/arm/kernel/smp.o: In function `__cpu_die': > smp.c:(.text+0x44c): undefined reference to `__bad_xchg' > Makefile:1024: recipe for target 'vmlinux' failed > make: *** [vmlinux] Error 1 OK, I will need to make a better choice of atomic operation. Thank you for testing this! Thanx, Paul