android_kernel_xiaomi_sm8350/arch/um/drivers
Al Viro 3a51237dc1 [PATCH] uml: mconsole fixes
* when we have stop/sysrq/go, we get pt_regs of whatever executes
   mc_work_proc().  Would be better to see what we had at the time of
   interrupt that got us stop.

 * stop/stop/stop.....  will give stack overflow.  Shouldn't allow stop
   from mconsole_stop().

 * stop/stop/go leaves us inside mconsole_stop() with
	os_set_fd_block(req->originating_fd, 0);
	reactivate_fd(req->originating_fd, MCONSOLE_IRQ);
   just done by nested mconsole_stop().  Ditto.

 * once we'd seen stop, there's a period when INTR commands are executed
   out of order (as they should; we might have the things stuck badly
   enough to never reach mconsole_stop(), but still not badly enough to
   block mconsole_interrupt(); in that situation we _want_ things like
   "cad" to be executed immediately).  Once we enter monsole_stop(), all
   INTR commands will be executed in order, mixed with PROC ones.  We'd
   better let user see that such change of behaviour has happened.
   (Suggested by lennert).

 * stack footprint of monsole_interrupt() is an atrocity; AFAICS we can
   safely make struct mc_request req; static in function there.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-24 22:01:10 -07:00
..
chan_kern.c [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
chan_user.c
cow_sys.h [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
cow_user.c
cow.h
daemon_kern.c [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
daemon_user.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
daemon.h [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
fd.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
harddog_kern.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
harddog_user.c
hostaudio_kern.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
line.c [PATCH] uml pt_regs fixes 2006-10-08 16:34:08 -07:00
Makefile
mcast_kern.c [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
mcast_user.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
mcast.h [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
mconsole_kern.c [PATCH] uml: mconsole fixes 2006-10-24 22:01:10 -07:00
mconsole_user.c [PATCH] uml: mconsole fixes 2006-10-24 22:01:10 -07:00
mmapper_kern.c [PATCH] uml: mmapper - remove just added but wrong "const" attribute 2006-10-20 10:26:36 -07:00
net_kern.c [PATCH] uml pt_regs fixes 2006-10-08 16:34:08 -07:00
net_user.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
null.c [PATCH] uml: locking documentation 2006-09-29 09:18:04 -07:00
pcap_kern.c [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
pcap_user.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
pcap_user.h [PATCH] missed const in prototype 2006-10-10 15:37:24 -07:00
port_kern.c [PATCH] uml pt_regs fixes 2006-10-08 16:34:08 -07:00
port_user.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
port.h
pty.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
random.c [PATCH] uml: locking documentation 2006-09-29 09:18:04 -07:00
slip_common.c
slip_common.h
slip_kern.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
slip_user.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
slip.h [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
slirp_kern.c [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
slirp_user.c [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
slirp.h [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
ssl.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
ssl.h
stderr_console.c [PATCH] uml: locking documentation 2006-09-29 09:18:04 -07:00
stdio_console.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
stdio_console.h
tty.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
ubd_kern.c [PATCH] uml pt_regs fixes 2006-10-08 16:34:08 -07:00
ubd_user.c
xterm_kern.c [PATCH] uml pt_regs fixes 2006-10-08 16:34:08 -07:00
xterm.c [PATCH] uml: cleanup run_helper() API to fix a leak 2006-10-20 10:26:36 -07:00
xterm.h