/dev/[k]mem are a bit of a mess. They've probably been subtly broken for a long time on highmem or when the kernel's page tables have been munged in other ways.
This has only been lightly tested on x86. Needs some review and some wider testing before getting applied anywhere. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/