Re: [RFC PATCH v2 03/19] vbus: add connection-client helper infrastructure

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Avi Kivity
Date: Thursday, June 4, 2009 - 12:04 pm

Gregory Haskins wrote:

switch_mm() is probably very cheap (reloads cr3), but it does dirty the 
current cpu's tlb.  When the kernel needs to flush a process' tlb, it 
will have to IPI that cpu in addition to all others.  This takes place, 
for example, after munmap() or after a page is swapped out (though 
significant batching is done there).

It's still plenty cheaper in my estimation.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH v2 00/19] virtual-bus, Gregory Haskins, (Thu Apr 9, 9:30 am)
[RFC PATCH v2 01/19] shm-signal: shared-memory signals, Gregory Haskins, (Thu Apr 9, 9:30 am)
[RFC PATCH v2 02/19] vbus: add virtual-bus definitions, Gregory Haskins, (Thu Apr 9, 9:30 am)
[RFC PATCH v2 04/19] vbus: add bus-registration notifiers, Gregory Haskins, (Thu Apr 9, 9:31 am)
[RFC PATCH v2 07/19] ioq: add vbus helpers, Gregory Haskins, (Thu Apr 9, 9:31 am)
[RFC PATCH v2 09/19] net: Add vbus_enet driver, Gregory Haskins, (Thu Apr 9, 9:31 am)
[RFC PATCH v2 11/19] venet: add scatter-gather support, Gregory Haskins, (Thu Apr 9, 9:31 am)
[RFC PATCH v2 12/19] venettap: add scatter-gather support, Gregory Haskins, (Thu Apr 9, 9:31 am)
[RFC PATCH v2 14/19] kvm: add a reset capability, Gregory Haskins, (Thu Apr 9, 9:31 am)
[RFC PATCH v2 15/19] kvm: add dynamic IRQ support, Gregory Haskins, (Thu Apr 9, 9:32 am)
[RFC PATCH v2 16/19] kvm: Add VBUS support to the host, Gregory Haskins, (Thu Apr 9, 9:32 am)
[RFC PATCH v2 17/19] kvm: Add guest-side support for VBUS, Gregory Haskins, (Thu Apr 9, 9:32 am)
[RFC PATCH v2 18/19] vbus: add a userspace connector, Gregory Haskins, (Thu Apr 9, 9:32 am)
[RFC PATCH v2 19/19] virtio: add a vbus transport, Gregory Haskins, (Thu Apr 9, 9:32 am)
Re: [RFC PATCH v2 09/19] net: Add vbus_enet driver, Stephen Hemminger, (Thu Apr 9, 9:37 am)
Re: [RFC PATCH v2 00/19] virtual-bus, Gregory Haskins, (Thu Apr 9, 9:48 am)
Re: [RFC PATCH v2 00/19] virtual-bus, Avi Kivity, (Sat Apr 11, 9:45 am)
Re: [RFC PATCH v2 14/19] kvm: add a reset capability, Avi Kivity, (Sat Apr 11, 9:56 am)
Re: [RFC PATCH v2 15/19] kvm: add dynamic IRQ support, Avi Kivity, (Sat Apr 11, 10:01 am)
Re: [RFC PATCH v2 15/19] kvm: add dynamic IRQ support, Gregory Haskins, (Mon Apr 13, 10:44 am)
Re: [RFC PATCH v2 03/19] vbus: add connection-client helpe ..., Michael S. Tsirkin, (Thu Jun 4, 11:06 am)
Re: [RFC PATCH v2 00/19] virtual-bus, Gregory Haskins, (Thu Jun 4, 11:49 am)
Re: [RFC PATCH v2 03/19] vbus: add connection-client helpe ..., Avi Kivity, (Thu Jun 4, 12:04 pm)
Re: [RFC PATCH v2 00/19] virtual-bus, Rusty Russell, (Thu Jun 4, 9:55 pm)
Re: [RFC PATCH v2 00/19] virtual-bus, Paul E. McKenney, (Thu Jun 4, 10:30 pm)
Re: [RFC PATCH v2 00/19] virtual-bus, Gregory Haskins, (Fri Jun 5, 4:56 am)
Re: [RFC PATCH v2 00/19] virtual-bus, Avi Kivity, (Fri Jun 5, 5:53 am)
Re: [RFC PATCH v2 00/19] virtual-bus, Rusty Russell, (Fri Jun 5, 7:35 am)
Re: [RFC PATCH v2 00/19] virtual-bus, Gregory Haskins, (Fri Jun 5, 7:44 am)
Re: [RFC PATCH v2 00/19] virtual-bus, Rusty Russell, (Fri Jun 5, 7:55 am)
Re: [RFC PATCH v2 00/19] virtual-bus, Paul E. McKenney, (Fri Jun 5, 9:25 am)
Re: [RFC PATCH v2 19/19] virtio: add a vbus transport, Anthony Liguori, (Sun Aug 9, 9:40 am)
Re: [RFC PATCH v2 19/19] virtio: add a vbus transport, Gregory Haskins, (Mon Aug 10, 8:40 am)