On Wed, Oct 27, 2010 at 10:26 AM, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:
X server/X org uses the device memory to write frame data and if it wants system memory, it can legally ask kernel thru malloc/calloc.
IMHO, I feel mem could have been restricted to device addresses rather than memory address. Though at this point I do not know whether it servers any bigger purpose.
Thanks,
Prabhu
On Wed, Oct 27, 2010 at 11:39, Prabhu nath <gprabhunath@xxxxxxxxx> wrote:Naively...you can say so...but AFAIK it serves for some (legacy) purpose:
> Thanks a lot for the clarification.
> Is that not a big hole that the kernel provides ?.
- Wine...or DOSEMU..or dosbox...can't recall which one that used it once...
- X server/ X org...once use it too...
X server/X org uses the device memory to write frame data and if it wants system memory, it can legally ask kernel thru malloc/calloc.
IMHO, I feel mem could have been restricted to device addresses rather than memory address. Though at this point I do not know whether it servers any bigger purpose.
Thanks,
Prabhu
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com