xen-ia64-devel
[Xen-ia64-devel] Re: [PATCH 04/15] ia64/pv_ops: introduce pv_info which
Dong, Eddie wrote:
Rather than making these binary patches, why not make them fast
syscalls and using a vdso page. Some of the priviledged instructions
are simply reads and we could have that information in a read-only
data page, so there is no need to do a context switch at all. Others
could benefit from a fast system call that doesn't do a full context
switch.
The issue is we don't want to change Linux code a lot, otherwise it
won't be accepted. If we use same logic with original Linux,
but it is using indirect function call now, binary patching could help
in performance.
Hi Eddie,
Sorry but this is a wrong assumption. If the code is correct then there
is no reason why it will not be accepted. It's far more important to
avoid ugly clutter that makes the code hard to maintain.
It would be nice if we could come up with a generic implementation for
such a vdso style interface that could be shared between
xen/kvm/lguest.
Introducing a new mechanism to use it to replace Linux code to use them
is another different story.
If someone starts doing a fast syscall implementation for hypercalls, it
is obvious the person(s) will be asked to make it generic on ia64.
Anything else would be silly, but it would definitely be a good thing to
do.
Cheers,
Jes
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-ia64-devel] [PATCH 00/15] RFC: ia64/pv_ops take 4, Isaku Yamahata
- [Xen-ia64-devel] [PATCH 02/15] ia64/pv_ops: preparation: introduce ia64_set_rr0_to_rr4() to make kernel paravirtualization friendly., Isaku Yamahata
- [Xen-ia64-devel] [PATCH 03/15] ia64/pv_ops: preparation: introduce ia64_get_psr_i() to make kernel paravirtualization friendly., Isaku Yamahata
- [Xen-ia64-devel] [PATCH 04/15] ia64/pv_ops: introduce pv_info which describes some random info., Isaku Yamahata
- [Xen-ia64-devel] [PATCH 01/15] ia64: preparation: remove extern in irq_ia64.c, Isaku Yamahata
- [Xen-ia64-devel] [PATCH 06/15] ia64/pv_ops: preparation for paravirtulization of hand written assembly code., Isaku Yamahata
- [Xen-ia64-devel] [PATCH 05/15] ia64/pv_ops: introduce pv_cpu_ops to paravirtualize privileged instructions., Isaku Yamahata
- [Xen-ia64-devel] [PATCH 14/15] ia64/pv_ops: add hooks, pv_irq_ops, to paravirtualized irq related operations., Isaku Yamahata
- [Xen-ia64-devel] [PATCH 08/15] ia64/pv_ops: paravirtualize minstate.h., Isaku Yamahata
- [Xen-ia64-devel] [PATCH 11/15] ia64/pv_ops: paravirtualize NR_IRQS, Isaku Yamahata
|
|
|