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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mathieu Desnoyers
Date: Tuesday, April 22, 2008 - 1:22 pm

* Ingo Molnar (mingo@elte.hu) wrote:

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[BUG] kmalloc_node(GFP_KERNEL) while smp_alt spinlocked, Pekka Paalanen, (Sat Apr 19, 8:41 am)
[PATCH] Fix SMP alternatives : use mutex instead of spinlo ..., Mathieu Desnoyers, (Sat Apr 19, 9:19 am)
[PATCH] Check for breakpoint in text_poke to eliminate bug_on, Mathieu Desnoyers, (Sat Apr 19, 2:58 pm)
Re: [PATCH] Check for breakpoint in text_poke to eliminate ..., Mathieu Desnoyers, (Sat Apr 19, 5:05 pm)
Re: [PATCH] Check for breakpoint in text_poke to eliminate ..., Mathieu Desnoyers, (Sun Apr 20, 12:44 pm)
Re: [PATCH] Check for breakpoint in text_poke to eliminate ..., Mathieu Desnoyers, (Sun Apr 20, 1:25 pm)
[PATCH] x86_64: fix kernel rodata NX setting, Pekka Paalanen, (Mon Apr 21, 11:48 am)
Re: [PATCH] x86_64: fix kernel rodata NX setting, Steven Rostedt, (Mon Apr 21, 11:57 am)
Re: [PATCH] x86_64: fix kernel rodata NX setting, Ingo Molnar, (Mon Apr 21, 12:03 pm)
Re: [repost PATCH] Fix SMP alternatives : use mutex instea ..., Mathieu Desnoyers, (Tue Apr 22, 1:22 pm)
[PATCH v2] x86 mmiotrace: dynamically disable non-boot CPUs, Pekka Paalanen, (Thu Apr 24, 12:39 pm)
Re: [Nouveau] [BUG/PATCH] x86 mmiotrace: dynamically disab ..., Stephane Marchesin, (Thu Jul 24, 8:34 am)