Skip to content

UML - Get rid of tt mode

Jeff Dike linux-um lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14UML - Throw out CONFIG_MODE_TTarch/um/Kconfig arch/um/Kconfig.char arch/um/Kconfig.debug +84 more+35 -42040 replies
2/14UML - Remove sysdep/thread.harch/um/include/sysdep-i386/kernel-offsets.h arch/um/include/sysdep-i386/sigcontext.h arch/um/include/sysdep-i386/thread.h +2 more+2 -170 replies
3/14UML - Style fixes pass 1arch/um/Kconfig arch/um/Kconfig.char arch/um/Kconfig.debug +12 more+283 -3140 replies
4/14UML - Throw out CHOOSE_MODEarch/um/drivers/chan_user.c arch/um/drivers/harddog_user.c arch/um/drivers/mconsole_kern.c +33 more+131 -3110 replies
5/14UML - Style fixes pass 2arch/um/drivers/mconsole_kern.c arch/um/include/um_mmu.h arch/um/include/um_uaccess.h +3 more+145 -1520 replies
6/14UML - Remove code made redundant by CHOOSE_MODE removalarch/um/drivers/harddog_user.c arch/um/include/arch.h arch/um/include/as-layout.h +60 more+512 -8090 replies
7/14UML - Style fixes pass 3arch/um/include/irq_user.h arch/um/include/kern_util.h arch/um/include/os.h +43 more+1338 -14270 replies
8/14UML - Remove __u64 usage from physical memory subsystemarch/um/include/mem.h arch/um/kernel/physmem.c arch/um/os-Linux/skas/process.c+6 -230 replies
9/14UML - Get rid of do_longjmparch/um/include/os.h arch/um/include/um_uaccess.h arch/um/include/uml_uaccess.h +8 more+16 -440 replies
10/14UML - Fold mmu_context_skas into mm_contextarch/um/include/skas/mmu-skas.h arch/um/include/tlb.h arch/um/include/um_mmu.h +9 more+58 -750 replies
11/14UML - Rename pt_regs general-purpose register filearch/um/include/sysdep-i386/ptrace.h arch/um/include/sysdep-x86_64/ptrace.h arch/um/kernel/process.c +6 more+92 -920 replies
12/14UML - Free LDT state on process exitarch/um/kernel/skas/mmu.c+2 -00 replies
13/14UML - Remove os_* usage from userspace filesarch/um/drivers/chan_user.c arch/um/drivers/harddog_user.c arch/um/include/mconsole.h +5 more+186 -2190 replies
14/14UML - Replace clone with forkarch/um/os-Linux/start_up.c+20 -350 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/14] UML - Get rid of tt mode

This set of patches is 2.6.24 material.

It throws out tt mode, which has been non-functional for a while.

This is done in phases, interspersed with code cleanups on the affected files.

The removal is done as follows:
remove all code, config options, and files which depend on
CONFIG_MODE_TT
get rid of the CHOOSE_MODE macro, which decided whether to
call tt-mode or skas-mode code, and replace invocations with their skas portions
replace all now-trivial procedures with their skas equivalents

There are now a bunch of now-redundant pieces of data structures, including mode-specific pieces of the thread structure, pt_regs, and mm_context. These are all replaced with their skas-specific contents.

As part of the ongoing style compliance project, I made a style pass over all files that were changed. There are three such patches, one for each phase, covering the files affected by that phase but no later ones.

I noticed that we weren't freeing the LDT state associated with a process when it exited, so that's fixed in one of the later patches.

The last patch is a tidying patch which I've had for a while, but which caused inexplicable crashes under tt mode. Since that is no longer a problem, this can now go in.

Jeff

Signature · 11 lines
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel