From: James Bottomley <James.Bottomley@SteelEye.com> Date: Mon, 01 Jan 2007 10:34:12 -0600I completely agree, it's confusing. I've tried to make it "just a hook" where architectures do whatever is necessary at that point to synchronize things. It's a poor definition and gives the implementor not much more than a rope with which to hang themselves :-) That's why I'm thinking strongly about perhaps encouraging people to go the kmap() route. It would avoid all the flushing in exchange for some specialized TLB accesses. If the flushes are really expensive, and the TLB operations to setup/teardown the kmap()'s can be relatively cheap, it might be the thing to do on PARISC. More and more I like Ralf's kmap() approach because you only do things exactly where the kernel actually touches the page. And if it would really help in some way, we can even tag the kmap() calls with "KMAP_READ" or "KMAP_WRITE" type attributes as appropriate. Because let's say you don't want to do the TLB mapping thing, and still want to actually cache flush, then this hint about the access could guide what kind of flush you do. -
| Ingo Molnar | [patch 02/13] syslets: add syslet.h include file, user API/ABI definitions |
| Heiko Carstens | Re: 2.6.25-rc6-git6: Reported regressions from 2.6.24 |
| Greg Kroah-Hartman | [PATCH 010/196] Chinese: add translation of Codingstyle |
| Rafael J. Wysocki | [Bug #10629] 2.6.26-rc1-$sha1: RIP __d_lookup+0x8c/0x160 |
git: | |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| Linus Torvalds | Re: [GIT]: Networking |
| Mark Lord | Re: [BUG] New Kernel Bugs |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
