Re: [PATCH] x86: replace mm_context_t.ia32_compat by MMF_COMPAT

From: Johannes Weiner
Date: Fri Oct 07 2011 - 05:31:21 EST


On Wed, Sep 28, 2011 at 08:41:49PM +0200, Oleg Nesterov wrote:
> Kill mm_context_t.ia32_compat in favour of arch-independent MMF_COMPAT
> flag. This saves a word in mm_struct, and the new flag can be probably
> use outside of arch/x86/.
>
> Also, remove the "if (current->mm)" check from set_personality_*().
> This can only be called after exec_mmap() installs the new mm != NULL.
>
> Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>

Acked-by: Johannes Weiner <jweiner@xxxxxxxxxx>
--
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/