[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081030212121.GB6583@localdomain>
Date: Thu, 30 Oct 2008 14:21:21 -0700
From: Ravikiran G Thirumalai <kiran@...lex86.org>
To: Arjan van de Ven <arjan@...radead.org>
Cc: Ingo Molnar <mingo@...e.hu>, venkatesh.pallipadi@...el.com,
linux-kernel@...r.kernel.org, tim@...lemp.com, shai@...lex86.org
Subject: Re: [patch] x86: Fix /dev/mem mmap breakage when PAT is disabled
On Thu, Oct 30, 2008 at 01:21:03PM -0700, Arjan van de Ven wrote:
>On Wed, 29 Oct 2008 19:02:03 -0700
>Ravikiran G Thirumalai <kiran@...lex86.org> wrote:
>
>well... technically the aliases are bad without PAT as well...
>
Hmm! Well, you mean if mtrr is used to change attributes?
I guess there is always a risk associated with luser space mmaping /dev/mem,
and we have CONFIG_STRICT_DEVMEM to avoid this in production.
However, for debugging tools, it is worth having the capability in _debug_
kernels and living with the risk IMHO.
Thanks,
Kiran
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists