android_kernel_xiaomi_sm8350/arch/um
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
..
drivers [PATCH] uml: mconsole fixes 2006-10-24 22:01:10 -07:00
include [PATCH] uml: mconsole fixes 2006-10-24 22:01:10 -07:00
kernel [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
os-Linux [PATCH] uml: cleanup run_helper() API to fix a leak 2006-10-20 10:26:36 -07:00
scripts
sys-i386 Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
sys-ia64
sys-ppc
sys-x86_64 [PATCH] make UML compile (FC6/x86-64) 2006-10-15 14:18:39 -07:00
config.release
defconfig
Kconfig [PATCH] uml: use DEFCONFIG_LIST to avoid reading host's config 2006-10-20 10:26:36 -07:00
Kconfig.char [PATCH] uml: kconfig - silence warning 2006-10-20 10:26:36 -07:00
Kconfig.debug
Kconfig.i386 [PATCH] uml: allow finer tuning for host VMSPLIT setting 2006-10-11 11:14:21 -07:00
Kconfig.net
Kconfig.scsi
Kconfig.x86_64
Makefile Attack of "the the"s in arch 2006-10-03 22:21:02 +02:00
Makefile-i386
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas
Makefile-tt
Makefile-x86_64 [PATCH] uml: allow using again x86/x86_64 crypto code 2006-10-11 11:14:20 -07:00