- jd1 # This cleans up the error path in ubd_open, causing it now to call # ubd_close appropriately when something fails. # # Signed-off-by: Jeff Dike - jd2 # From Al Viro - Build cleanups # # Signed-off-by: Jeff Dike - jd3 # From Al Viro - Remove an unneeded reference to libc # # Signed-off-by: Jeff Dike - jd4 # Noticed by Al Viro - SMP on x86_64 is fundamentally broken due to # UML's reuse of the host arch's percpu stuff. This is OK on x86, but # the x86_64 pda stuff just won't work for UML. # # Signed-off-by: Jeff Dike - jd5 # Al Viro spotted a bunch of duplicated exports - this removes them. # # Signed-off-by: Jeff Dike - jd6 # From Paolo Giarrusso - Make a UML/i386 instance running on x86_64 pretend # to be i386 rather than x86_64. # # Signed-off-by: Jeff Dike - jd7 # This adds VM op batching to skas0. Rather than having a context switch to # and from the userspace stub for each address space change, we write a number # of operations to the stub data page and invoke a different stub which loops # over them and executes them all in one go. # The operations are stored as [ system call number, arg1, arg2, ... ] tuples. # The set is terminated by a system call number of 0. # Single operations, i.e. page faults, are handled in the old way, since that # is slightly more efficient. # For a kernel build, a minority (~1/4) of the operations are part of a set. # These sets averaged ~100 in length, so for this quarter, the context # switching overhead is greatly reduced. # # Signed-off-by: Jeff Dike # - jd8 # # There is a lot of code which is duplicated between the 2 and 3 level # implementation, with the only difference that the 3-level implementation is a # bit more generalized (instead of accessing directly pte_t.pte, it uses the # appropriate access macros). # # So this code is joined together. # # As obvious, a "core code nice cleanup" is not a "stability-friendly patch" so # usual care applies. # # Signed-off-by: Paolo 'Blaisorblade' Giarrusso # Signed-off-by: Jeff Dike - jd9 # This removes some long-unused debugging code. # # Signed-off-by: Jeff Dike S12 uml-user basic __user annotations (uml) UM1 stubs [UML] segv_stubs fixes # * added missing include list to uml AFLAGS # * killed magic for stubs.[So] - it was needed only because of messed AFLAGS # * switched segv_stubs.c to kernel CFLAGS sans profile, instead of user ones # * killed STUBS_CFLAGS - it's not needed and the only remaining use had been # gratitious - it only polluted CFLAGS UM2 signal [UML] copy_sc_..._user_tt() fixes # * uml-i386 copy_sc_from_user_tt() blindly dereferenced from to get # from->fpstate, right before copying *from from userland. # * uml-amd64 copy_sc_from_user_tt() did the same and forgot to copy fpstate # after deciding where to copy it from. # * uml-amd64 copy_sc_to_user_tt() forgot to copy fpstate after figuring # out where to copy it. UM4 uml-checker [UML] getting sparse to work for uml # added missing -m64 to checkflags for uml-amd64; made sure that sparse is # not run on USER_OBJECTS - it's not ready for that in a lot of respects.