[RFC 5/6] x86,vdso: Use .fault instead of remap_pfn_range for the vvar mapping

2014-10-29 Thread Andy Lutomirski
This is IMO much less ugly, and it also opens the door to disallowing unprivileged userspace HPET access on systems with usable TSCs. Signed-off-by: Andy Lutomirski --- arch/x86/vdso/vma.c | 68 + 1 file changed, 42 insertions(+), 26

[RFC 5/6] x86,vdso: Use .fault instead of remap_pfn_range for the vvar mapping

2014-10-29 Thread Andy Lutomirski
This is IMO much less ugly, and it also opens the door to disallowing unprivileged userspace HPET access on systems with usable TSCs. Signed-off-by: Andy Lutomirski l...@amacapital.net --- arch/x86/vdso/vma.c | 68 + 1 file changed, 42