Re: [git pull] x86 PAT changes

From: Linus Torvalds
Date: Fri Apr 25 2008 - 19:44:44 EST




On Fri, 25 Apr 2008, Ingo Molnar wrote:
> Linus, please pull the x86-pat git tree from:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86-pat.git for-linus
>
> this adds the second (and final) phase of the x86 PAT changes. Due to
> generic impact (the drivers/char/mem.c and include/asm-generic/iomap.h
> changes) this is offered as a separate tree.

So why is PAT dependent on NONPROMISC_DEVMEM here?

It seems pointless and wrong. Somebody might want to have both the full
/dev/mem and PAT.

Also, it causes this message for me on one of my machines:

EXT3-fs: mounted filesystem with ordered data mode.
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
mtrr: no more MTRRs available
Overlap at 0xd0000000-0xe0000000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0380000
EXT3 FS on dm-0, internal journal
...
eth0: no IPv6 routers present
Overlap at 0xd0000000-0xe0000000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0380000
Overlap at 0xd0000000-0xe0000000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0380000
Overlap at 0xd0000000-0xe0000000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0380000
Overlap at 0xd0000000-0xe0000000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0380000
Overlap at 0xd0000000-0xe0000000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0380000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xd0000000-0xd0020000
mtrr: no more MTRRs available
Overlap at 0xd0000000-0xe0000000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0380000

which is a bit annoying. Forgotten debug printk, perhaps?

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/