lkml.org 
[lkml]   [2004]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.8-rc4-mm1
On Tue, Aug 10, 2004 at 03:28:40PM -0700, William Lee Irwin III wrote:
>> Please, let's do this instead:

On Tue, Aug 10, 2004 at 03:30:06PM -0700, William Lee Irwin III wrote:
> +task_t * __init __fork_idle(int cpu, struct pt_regs *regs)
> +{
> + task_t *task = copy_process(CLONE_VM, 0, regs, 0, NULL, NULL, 0);
> if (!task)
> return ERR_PTR(-ENOMEM);
> init_idle(task, cpu);

This still doesn't eliminate the branch in ia64's copy_thread().
The best solution possible would be to redo the whole affair as an
ia64-specific cleanup pass, and to find some initial setting of regs
that works for all architectures (it seems memset(&regs, 0, ...) doesn't).


-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.046 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site