Messages in this thread |  | | Date | Tue, 4 Sep 2001 04:31:51 +0200 | From | Andrea Arcangeli <> | Subject | Re: [PATCH] avoid unnecessary cache flushes |
| |
On Tue, Sep 04, 2001 at 11:53:22AM +1000, Paul Mackerras wrote: > For alpha, the thing that my patch does that might hurt is the change > from flush_icache_page to flush_icache_range in kernel/ptrace.c. Any > comment on that?
For the alpha such change will imply a performance penablity (will throw away the whole icache, not only the one belonging to the ptraced task).
We cannot change flush_icache_range to bump the asn because there's no vma in the flush_icache_range API (flush_icache_range in short is for the kernel side, like with vmalloc and kernel modules where a vma/mm/tsk wouldn't make sense anyways).
what's the point of such change? The whole point of the patch is to work with pages not with virtual addresses so you can do the bitflag bookeeping on the page structure, so I don't see why would you want to do the opposite change there.
Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |