Vorobiev Dmitri wrote: > Theodore Tso wrote: > > > > If you really insist I suppose we could have a MIPS specific patch > > where we allocate a 4k page and zero it, so we can use it from our > > kernel code because you don't want to export and make available the > > ZERO_PAGE that gets used by the rest of the kernel, but that seems > > awfully silly, and would be a waste of 4k of memory..... Someone from > > MIPS land would have to test it, as well, as I dont think any of the > > ext4 developers have access to a MIPS platform. > > Ted, Ralf seems to be unwilling to accept the ZERO_PAGE() export. If you > send the MIPS-specific patch, I can do the testing for you as I have a > MIPS Malta board at my disposal. AFAIU the problematic case are systems with R4000/R4400 SC/MC CPUs since they use 8 zero pages of different color. Have a look at arch/mips/mm/init.c:setup_zero_pages. Thiemo