Visible to Intel only — GUID: GUID-C3CFDD3E-A5D0-4AFB-B09E-430F7BE3DC18
Visible to Intel only — GUID: GUID-C3CFDD3E-A5D0-4AFB-B09E-430F7BE3DC18
Shared Session Removal
Shared session removal is handled differently in different versions of Intel® DAL:
Client Service API level 1.1 to 3
A shared session is removed when there are no session handles, i.e., when all opened handles have been closed. There is no application that the client service knows of which is using the shared session. This means that if an application is going to a shared session for a given trusted application, the client service will need to create a new shared session for it. The shared session loses any context and the application needs to re-initialize the session.
Client Service API level 4 and above
A shared session is not immediately removed from the virtual machine when there are no session handles. Instead, the shared session is kept alive as much as possible by the following methods:
- If the space is not needed for another session, i.e., the 5 session limit has not been reached, the session is not removed.
- When an unused shared session needs to be removed to allow for the creation of another session, only one unused session is removed. The shared session to be removed is chosen using a Least Recently Used (LRU) algorithm.
- An unused shared session may need to be removed when there is a need to install a new trusted application but there is no more space for one, i.e., the 5 loaded trusted applications limit has been reached. In this case, there is a search for a trusted application that has no session or has only one session which is an unused shared session, and that session is removed to enable the loading of the new trusted application.