Re: [PATCH 2/3] introduce probe_slab_address()
From: Peter Zijlstra
Date: Tue Oct 28 2014 - 11:01:34 EST
On Tue, Oct 28, 2014 at 08:44:51AM +0300, Kirill Tkhai wrote:
> Ð ÐÐ, 27/10/2014 Ð 20:54 +0100, Oleg Nesterov ÐÐÑÐÑ:
> > +#define probe_slab_address(addr, retval) \
> > + probe_kernel_address(addr, retval)
>
> probe_kernel_read() was arch-dependent on tree platforms:
>
> arch/blackfin/mm/maccess.c
> arch/parisc/lib/memcpy.c
> arch/um/kernel/maccess.c
>
> But now we skip these arch-dependent implementations. Is there no a problem?
Nope, see the first patch, it makes probe_kernel_address use
__probe_kernel_read().
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/