Re: [patch] smp-2.3.40-A3, SMP fixes

From: Linus Torvalds (torvalds@transmeta.com)
Date: Mon Jan 17 2000 - 12:40:44 EST


On Mon, 17 Jan 2000, Jamie Lokier wrote:
>
> There should be no need to flush the TLB after vfree() and kunmap
> calls, until those functions reuse the same pages.
>
> It shouldn't be too hard to keep a roving page pointer so that vmalloc()
> flushes only when the roving pointer wraps.

This is very much how kmap/kunmap is designed.

vmalloc/vfree is a different matter, and happens seldom enough (and is
such a heavy operation anyway) that it probably doesn't make any
difference.

                Linus

-
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/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:16 EST