do page fault in atomic bug on arm

Masami Hiramatsu mhiramat at kernel.org
Wed Nov 29 18:41:34 PST 2017


On Tue, 28 Nov 2017 09:52:05 +0000
Russell King - ARM Linux <linux at armlinux.org.uk> wrote:

> On Tue, Nov 28, 2017 at 02:52:21PM +0900, Masami Hiramatsu wrote:
> > So there is already NOKPROBE_SYMBOL() macro to make a blacklist so that
> > we can avoid such recursive faults. We need to identify such place and
> > put the symbols in it as I did on x86.
> 
> Only if they are C functions.  If they're assembly, NOKPROBE_SYMBOL()
> doesn't work.  The answer there is to move them into a section that
> is excluded from kprobing.  That's what the second patch I've already
> sent does.

Thanks!

And if you need to put some symbols in assembly which already in 
another section, you can use _ASM_NOKPROBE(symbol) macro :)


> 
> -- 
> RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
> FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up
> According to speedtest.net: 8.21Mbps down 510kbps up


-- 
Masami Hiramatsu <mhiramat at kernel.org>



More information about the linux-arm-kernel mailing list