Since someone mentioned again.

Right now only x86 implements vmalloc_sync_all(). But iff:

- Your module mappings might require a page fault calling C 
code in kernel
- You got a pagefault notifier at the beginning of the page fault
handler

you risk a endless pagefault recursion with modular pagefault
notifiers. vmalloc_sync_all should sync all the available mappings 
on notifier register so that the C pf handler is not called for module 
faults.

Apparently at least ARM has this problem.

If the kernel module fault is only assembler code without notifier
(e.g. to reload a TLB) it is probably not needed.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to