Re: question about context switch on arm Linux

From: Richard Cochran
Date: Sun Oct 21 2012 - 08:00:05 EST


On Sun, Oct 21, 2012 at 04:19:50PM +0800, caiyuqing wrote:
> Richard, thanks for your reply.
> mainline Linux doesn't support FCSE, if so, when kernel switch a
> process to another(these two process share the same virtual memory
> space), that means the vitrual-to-physical address should be
> remaped, TLB shuold be invalid, CACHE should be flushed, right?

Yes, and that is why you can measure quite a long context switching
time when running Linux on ARMv4/5.

Thanks,
Richard
--
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/