于 2012年10月21日 15:44, Richard Cochran 写道:
On Sun, Oct 21, 2012 at 02:02:42PM +0800, caiyuqing wrote:
hi, all.
I have some questions about context switch on arm Linux (my target is
ARMv7-a).
1. Does arm linux support FCSE to handle the context switch?
No, mainline Linux does not support FCSE. However, you can use Gilles'
unoffical (but working) FCSE branches at
http://git.xenomai.org/?p=ipipe-gch.git;a=summary
2. If using FCSE, that means the processes number limit is 128 and the
memory limit is 32MB per process, is that right?
Yes and no.
Gilles' patches offer a "strict mode" and a "best effort" mode. The
strict mode does have the limitation, but the best effort mode does
not.
HTH,
Richard
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?
qing
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/