> That would be a completely new and totally untested modus operandi for aI did -- that was the base I was working from. BTW if you had read it closely you would have noticed that the code as written currently violates the specification in a non trivial way currently. If you worry so much about it that might be a good area to investigate. There are no global TLBs around during the MTRR change period because they have been all flushed just before. If any get prefetched they will be in the TLB no matter if PGE is on or not. That is because even with PGE disabled TLBs are active. Then as soon as the MTRR changing is done all TLBs (global or not) will be flushed. [I admit I should have put that rationale into the original changelog, then my thinking would have been clearer] If there are any global TLBs around they will be flushed at the end (even two times) Anyways the only theoretical problem I could think of if there is some CPU that does not flush all global TLBs on a global TLB flush, but if that really happens the only sane thing we could on that CPU is to never use global TLBs. But I'm not aware of any x86 CPU that broken around (are you?) Ok I cannot argue with you being so overly cautious. Caution is a non exact heuristic that is hard to argue against. I would appreciate though if you could clearly lay out which areas you consider so risky that you think they cannot be changed anymore. Does this cover all TLB flushes in general? Or only in some specific circumstances? If yes in which? Thanks. That is just I can avoid stepping on your toes for those areas for merely cleanups. They tend to be not important enough to warrant a longer argument. Yes, a whole ~10 bytes or so in two non duplicated functions :-) I like the code size argument as well as the next guy, but if you use it for rounding errors like this it blunts. -Andi --
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Willy Tarreau | Re: Linux 2.6.21 |
| Jan Kundrát | kswapd high CPU usage with no swap |
git: | |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| David Miller | Re: [PATCH] tcp: splice as many packets as possible at once |
