[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091112200645.700493c9@lxorguk.ukuu.org.uk>
Date: Thu, 12 Nov 2009 20:06:45 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: "Henrique de Moraes Holschuh" <hmh@....eng.br>
Cc: "Andi Kleen" <andi@...stfloor.org>,
"Robert Hancock" <hancockrwd@...il.com>,
"Anton D. Kachalov" <mouse@...c.ru>, linux-kernel@...r.kernel.org
Subject: Re: Reading /dev/mem by dd
> Well, if debugging is the primary use, maybe the best long term plan
> would be to get rid of the need for /dev/mem for anything other than
> debugging, and after that is accomplished, move it to debugfs or make
> it optional?
/dev/mem is ABI and API. It's also part of Unix tradition and all sorts
of other stuff. It's just fine where it is.
> > The X case also involves X and the kernel both working with the same
> > resource and in many cases that resource having registers that can
> > crash a system if mis-accessed.
>
> I see. That also tells me that whatever dark sides KMS has, it is much
> better than the alternative :-)
Modern video doesn't really fit the simple kernel frame buffer model
anyway but it is important that the kernel now manages the resources for
all sorts of reasons including hotplug.
--
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