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

From: Jamie Lokier (lkd@tantalophile.demon.co.uk)
Date: Mon Jan 17 2000 - 11:54:05 EST


Manfred Spraul wrote:
> I guess flush_all_zero_pkmaps() will happen quite often, it might be the
> most common caller of flush_tlb_all() [other reasons are module load/unload,
> or creating a process that uses more than 1024 file handles - extremely rare
> events] . I would remove the PAGE_GLOBAL bit from the kmap pages, then we do
> not need another flush_tlb function that's referenced from the
> cross-platform part of the kernel.

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.

-- Jamie

-
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:15 EST