login
Header Space

 
 

Re: [git pull] x86 PAT changes

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: H. Peter Anvin <hpa@...>
Cc: Ingo Molnar <mingo@...>, <linux-kernel@...>, Andrew Morton <akpm@...>, Thomas Gleixner <tglx@...>
Date: Friday, April 25, 2008 - 9:12 pm

On Fri, 25 Apr 2008, H. Peter Anvin wrote:

Umm.. I don't think you understand. Right now, NONPROMISC_DEVMEM doesn't 
just disable mmap() on /dev/mem, it disables totally regular reads and 
writes too. That seems pretty damn excessive.

If it was just mmap(), I don't think it would matter much. I don't think 
we traditionally even supported mmap() on real RAM (because the page 
counting would get confused), and that actually got supported only thanks 
to VM changes that made it possible.

But read/write has always been supported, and shouldn't cause any 
cached/uncached aliases!

		Linus
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[git pull] x86 PAT changes, Ingo Molnar, (Thu Apr 24, 6:56 pm)
Re: [git pull] x86 PAT changes, Gabriel C, (Sat Apr 26, 9:40 am)
Re: [git pull] x86 PAT changes, Ingo Molnar, (Sat Apr 26, 10:42 am)
Re: [git pull] x86 PAT changes, Gabriel C, (Sat Apr 26, 11:37 am)
Re: [git pull] x86 PAT changes, Ingo Molnar, (Sat Apr 26, 11:41 am)
Re: [git pull] x86 PAT changes, Linus Torvalds, (Sat Apr 26, 12:43 pm)
Re: [git pull] x86 PAT changes, Linus Torvalds, (Fri Apr 25, 7:43 pm)
Re: [git pull] x86 PAT changes, Ingo Molnar, (Sat Apr 26, 5:57 am)
Re: [git pull] x86 PAT changes, H. Peter Anvin, (Fri Apr 25, 8:06 pm)
Re: [git pull] x86 PAT changes, Linus Torvalds, (Fri Apr 25, 9:12 pm)
Re: [git pull] x86 PAT changes, Ingo Molnar, (Sat Apr 26, 4:56 am)
RE: [git pull] x86 PAT changes, Pallipadi, Venkatesh, (Sat Apr 26, 12:54 pm)
RE: [git pull] x86 PAT changes, Linus Torvalds, (Sat Apr 26, 1:15 pm)
Re: [git pull] x86 PAT changes, Venki Pallipadi, (Sat Apr 26, 2:32 pm)
[patch] x86, PAT: disable /dev/mem mmap RAM with PAT, Ingo Molnar, (Sat Apr 26, 3:07 pm)
speck-geostationary