From 6a2a196f567efb23cce80dcd6ecb688cb885986f Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Sun, 28 Apr 2002 04:57:35 -0700 Subject: [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 --- kernel/fork.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'kernel') 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; -- cgit v1.2.3