Re: [repost PATCH] Fix SMP alternatives : use mutex instead ofspinlock, text_poke is sleepable

From: Mathieu Desnoyers
Date: Tue Apr 22 2008 - 16:23:32 EST


* Ingo Molnar (mingo@xxxxxxx) wrote:
>
> * Pekka Paalanen <pq@xxxxxx> wrote:
>
> > Ingo,
> >
> > I see you applied the NX fix. This patch is the other one needed to
> > make CPU hotplug working. Could you apply this, unless Mathieu has
> > something against it?
>
> sure, patch looks sane - applied it and pushed it out. Thanks,
>
> Ingo

Ingo,

The patch found there should also be pulled (at least the
is_vmalloc_addr -> !core_kernel_text bit) :

http://lkml.org/lkml/2008/4/20/192

On x86_64, module code is not in is_vmalloc_addr range, so we can end up
using virt_to_page on module text addresses.

Mathieu

--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--
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/