Linux-kernel mailing list archive 2000-26,: Re: kmap_kiobuf()

# Re: kmap_kiobuf()

Andi Kleen (ak@suse.de)
Wed, 28 Jun 2000 23:05:17 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Cesar G. Dubois Carranza: "PROBLEMS WITH RUNNING LINUX ON SECOND MASTER HARD DRIVE AND WIN98"
- Previous message: Stephen C. Tweedie: "Re: RFC: Very large allocations for 2.4.x"

On Wed, Jun 28, 2000 at 07:06:12PM +0100, Stephen C. Tweedie wrote:
> Hi,
>
> On Wed, Jun 28, 2000 at 11:52:40AM -0500, lord@sgi.com wrote:
> >
> > I am not a VM guy either, Ben, is the cost of the TLB flush mostly in
> > the synchronization between CPUs, or is it just expensive anyway you
> > look at it?
>
> The TLB IPI is by far the biggest factor here.

In theory it would be possible to do it lazily associated with the object's
lock (so that the TLB is only transfered when some other CPU aquires the lock of the
object in question). It would be probably rather error prone though.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Cesar G. Dubois Carranza: "PROBLEMS WITH RUNNING LINUX ON SECOND MASTER HARD DRIVE AND WIN98"
- Previous message: Stephen C. Tweedie: "Re: RFC: Very large allocations for 2.4.x"