On Fri, 25 Apr 2008, Ingo Molnar wrote:No, I think the warning is good, I should have done some kind of clear_fixmap() after doing the mmap. But there was actually a much worse problem with my patch: __set_fixmap() is __init. Which means that my patch was just totally broken. What I really wanted to do was to just follow the page tables and mark it writable temporarily over the whole loop, and get rid of the whole mess. (We'd need to make __set_fixmap() non-init, and probably return the pte_t pointer that it used, so that we could then just use "native_pte_clear()" on the thing after having done the memcpy()). I suspect I should have just kept using vmap(), even if I do dislike just how insanely expensive that likely is. Linus --
| Andrew Morton | 2.6.23-rc3-mm1 |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Yinghai Lu | Re: [PATCH RFC] x86: check for and defend against BIOS memory corruption |
| Frederik Deweerdt | [-mm patch] remove tcp header from tcp_v4_check (take #2) |
| David Miller | [GIT]: Networking |
| 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) |
| Herbert Xu | Re: [PATCH 2/3][NET_BATCH] net core use batching |
git: | |
