lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5083B026.1030307@gmail.com>
Date:	Sun, 21 Oct 2012 16:19:50 +0800
From:	caiyuqing <yuqingcaik@...il.com>
To:	Richard Cochran <richardcochran@...il.com>
CC:	linux-kernel@...r.kernel.org
Subject: Re: question about context switch on arm Linux

于 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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ