Messages in this thread | | | Date | Mon, 31 Dec 2001 11:28:31 -0800 | From | Andrew Morton <> | Subject | Re: [patch] Prefetching file_read_actor() |
| |
Manfred Spraul wrote: > > BUT: Prefetch doesn't preload the TLB. If the TLB entry for the kmap is > not in the TLB, all prefetch instructions are treated as nops.(on pIII).
umm.. That will be the case practically 100% of the time in this application, won't it?
Looks like you'll need to do a __get_user() against the page to populate the tlb. We're going to need it in the copy_to_user() anyway, so the cost is negligible.
- - 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/
| |