Re: [PATCH] init: use KERNEL_DS when trying to start init process

From: Linus Torvalds
Date: Thu Jun 09 2011 - 11:57:00 EST


On Thu, Jun 9, 2011 at 5:06 AM, Mathias Krause <minipli@xxxxxxxxxxxxxx> wrote:
>
> ...Albeit by looking closer at the implementation of flush_old_exec()
> I think we should just move the set_fs() call there and remove it from
> the architecture dependent implementations of flush_thread() and
> start_thread().

Yeah, that sounds like the sane (and safe - it won't matter if there
are some architectures that get overlooked and then have a duplicate
set_fs() somewhere) approach.

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