diff options
| author | Dave Jones <davej@suse.de> | 2002-04-28 04:57:35 -0700 |
|---|---|---|
| committer | Jaroslav Kysela <perex@suse.cz> | 2002-04-28 04:57:35 -0700 |
| commit | 6a2a196f567efb23cce80dcd6ecb688cb885986f (patch) | |
| tree | 760de82995689f36b70b9315de8e46f1d7d66664 /kernel | |
| parent | 68575eb88de1b057e78383e5e56a4d7261c22848 (diff) | |
[PATCH] Dynamic LDT sizing.
Originally from Manfred Spraul.
* dynamically grow the LDT
Every app that's linked against libpthread right now allocates a full 64
kB LDT, without proper error handling, and always from the vmalloc area
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/fork.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 1d2b8551bd39..9c02ba5c4635 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -394,11 +394,6 @@ static int copy_mm(unsigned long clone_flags, struct task_struct * tsk) if (retval) goto free_pt; - /* - * child gets a private LDT (if there was an LDT in the parent) - */ - copy_segments(tsk, mm); - if (init_new_context(tsk,mm)) goto free_pt; |
