Messages in this thread | | | Date | Sat, 20 Mar 1999 18:15:59 +0100 | From | Thomas Pornin <> | Subject | Netscape |
| |
In article <Pine.GSO.4.04.9903201453030.17359-100000@brick.ens.fr> you write: > 1 VC switching, EVEN UNDER X, should be handled by the kernel. I strongly > think that the kernel should be the only one to switch video modes.
Framebuffer, that is. Try vesafb, or look at http://www.ggi-project.org/.
> 2 We perhaps could try to support VESA video mode changes using > virtual-8086. This would take care of weirdo (read here: laptop) > chipsets.
Vesafb is somehow doing this. It is not really usefull to switch between several video modes, however it seems to fun. This feature actually exists in FreeBSD. A bit dangerous if your bios is not clean, and crude, but effective.
You might just want to use dosemu: run dosemu, with granted access to the video ports, use your favorite vesa bios or msdos-tsr, and go into the wanted mode. You will need to hack a little the kernel, so that vesafb understand this operation.
By the way, the dosemu source should be a good documentation for vm86().
> 3 The kernel should detect that an application causes more than what is > reasonable in swapping and kil that application.
Userland stuff. Run the killer daemon with SCHED_RR or SCHED_FIFO priority, all pages locked in memory with mlockall(). Use /proc/*/stat* to detect bad guys, zap them, have no mercy.
--Thomas Pornin
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |