Dynamic Trampoline and Structured Code Generation in a Signed Code Environment
    1.
    发明申请
    Dynamic Trampoline and Structured Code Generation in a Signed Code Environment 有权
    动态蹦床和签名代码环境中的结构化代码生成

    公开(公告)号:US20130067246A1

    公开(公告)日:2013-03-14

    申请号:US13673757

    申请日:2012-11-09

    Applicant: Apple Inc.

    CPC classification number: G06F9/44521 G06F9/4484 G06F21/51

    Abstract: A method and apparatus for performing a function based on an executable code in response to receiving a request including function parameters are described. The executable code may be validated when loaded in a memory according to a signature statically signed over the executable code. A data location in the memory for storing the function parameters may be determined according location settings included inside the executable code. A target code location for storing a copy of the executable code may be determined based on the location parameters and the determined data location. A function is performed by executing the executable code from the target code location referencing the stored function parameters.

    Abstract translation: 描述了一种用于响应于接收到包括功能参数的请求而执行基于可执行代码的功能的方法和装置。 根据通过可执行代码静态签名的签名,可执行代码可以在加载到存储器中时被验证。 用于存储功能参数的存储器中的数据位置可以根据包括在可执行代码内的位置设置来确定。 可以基于位置参数和确定的数据位置来确定用于存储可执行代码的副本的目标代码位置。 通过从参考所存储的功能参数的目标代码位置执行可执行代码来执行功能。

    Method and apparatus for managing kernel memory of data processing systems

    公开(公告)号:US10649889B2

    公开(公告)日:2020-05-12

    申请号:US15996109

    申请日:2018-06-01

    Applicant: Apple Inc.

    Abstract: According to one embodiment, it is determined whether data stored in a compressor pool exceeds a first predetermined threshold, the compressor pool being a fixed-size memory pool maintained in a kernel of an operating system. The compressor pool stores a plurality of compressed memory pages, each memory page storing compressed data pages that can be paged out to or paged in from a persistent storage device. The compressed memory pages are associated with a plurality of processes. A memory consumption reduction action is performed to reduce memory usage, including terminating at least one of the processes to reclaim a memory space occupied by the process, in response to determining that the data stored in the compressor pool exceeds the first predetermined threshold.

    Adaptive handling of priority inversions using transactions
    3.
    发明授权
    Adaptive handling of priority inversions using transactions 有权
    使用事务处理优先级的自适应处理

    公开(公告)号:US09400677B2

    公开(公告)日:2016-07-26

    申请号:US13893631

    申请日:2013-05-14

    Applicant: Apple Inc.

    CPC classification number: G06F9/466 G06F9/526 G06F2209/522 G06F2209/523

    Abstract: An operating system of a data processing system receives a request from a first process to acquire an exclusive lock for accessing a resource of the data processing system. A second priority of a second process is increased to reduce total execution time. The second process is currently in possession of the exclusive lock for performing a transactional operation with the resource. The second priority was lower than a first priority of the first process. The operating system notifies the second process to indicate that another process is waiting for the exclusive lock to allow the second process to complete or roll back the transactional operation and to release the exclusive lock thereafter.

    Abstract translation: 数据处理系统的操作系统从第一进程接收到获取用于访问数据处理系统的资源的排他锁的请求。 增加第二个进程的第二个优先级,以减少总执行时间。 第二个进程当前拥有执行与该资源的事务操作的排他锁。 第二个优先次序低于第一个进程的第一优先事项。 操作系统通知第二进程以指示另一进程正在等待排他锁以允许第二进程完成或回滚事务操作并且此后释放排他锁。

    Schema versioning for cloud hosted databases
    4.
    发明授权
    Schema versioning for cloud hosted databases 有权
    云托管数据库的模式版本控制

    公开(公告)号:US09244914B2

    公开(公告)日:2016-01-26

    申请号:US13631750

    申请日:2012-09-28

    Applicant: Apple Inc.

    CPC classification number: G06F17/30 G06F17/30297 G06F17/30309

    Abstract: Methods and apparatus are provided in which applications that run on different devices can be upgraded with migration of data to a new database format. A method of upgrading a first version of an application installed on a first device to a second version is provided, where first and second transaction logs for respective first and second schema versions are stored in respective first and second log containers on a server computer, and the first version of the application stores data in accordance with a first schema version, and further stores a cache of at least a portion of the first transaction log in a log database on the first device, migrating the log database to the second schema version, storing a duplicate copy of the first transaction log in the second log container, and rewriting the duplicate copy of the first transaction logs using the second schema.

    Abstract translation: 提供了方法和装置,其中可以通过将数据迁移到新的数据库格式来升级在不同设备上运行的应用程序。 提供了将安装在第一设备上的应用的第一版本升级到第二版本的方法,其中针对相应的第一和第二模式版本的第一和第二事务日志存储在服务器计算机上的相应的第一和第二日志容器中,以及 应用程序的第一版本根据第一模式版本存储数据,并且还将第一事务日志的至少一部分的高速缓存存储在第一设备上的日志数据库中,将日志数据库迁移到第二模式版本, 将第一个事务日志的副本存储在第二个日志容器中,并使用第二个模式重写第一个事务日志的副本。

    Memory page reclamation in a user idle mode

    公开(公告)号:US10977172B2

    公开(公告)日:2021-04-13

    申请号:US16147673

    申请日:2018-09-29

    Applicant: Apple Inc.

    Abstract: Techniques are disclosed relating to virtual memory page reclamation policies. In some embodiments, an operating system of a computing device implements, during a first operating mode, a first page reclamation policy for pages corresponding to user processes and non-user processes. The computing device may then enter a second operating mode upon detecting some indication of user inactivity. The operating system may then implement, during the second operating mode, a second page reclamation policy for pages corresponding to user processes and non-user processes, where the second page reclamation policy prioritizes, relative to the first page reclamation policy, eviction of pages corresponding to non-user processes.

    ADAPTIVE HANDLING OF PRIORITY INVERSIONS USING TRANSACTIONS
    6.
    发明申请
    ADAPTIVE HANDLING OF PRIORITY INVERSIONS USING TRANSACTIONS 有权
    使用交易优先处理优先权的自适应处理

    公开(公告)号:US20140189693A1

    公开(公告)日:2014-07-03

    申请号:US13893631

    申请日:2013-05-14

    Applicant: Apple Inc.

    CPC classification number: G06F9/466 G06F9/526 G06F2209/522 G06F2209/523

    Abstract: An operating system of a data processing system receives a request from a first process to acquire an exclusive lock for accessing a resource of the data processing system. A second priority of a second process is increased to reduce total execution time. The second process is currently in possession of the exclusive lock for performing a transactional operation with the resource. The second priority was lower than a first priority of the first process. The operating system notifies the second process to indicate that another process is waiting for the exclusive lock to allow the second process to complete or roll back the transactional operation and to release the exclusive lock thereafter.

    Abstract translation: 数据处理系统的操作系统从第一进程接收到获取用于访问数据处理系统的资源的排他锁的请求。 增加第二个进程的第二个优先级,以减少总执行时间。 第二个进程当前拥有执行与该资源的事务操作的排他锁。 第二个优先次序低于第一个进程的第一优先事项。 操作系统通知第二进程以指示另一进程正在等待排他锁以允许第二进程完成或回滚事务操作并且此后释放排他锁。

    Dynamic trampoline and structured code generation in a signed code environment
    7.
    发明授权
    Dynamic trampoline and structured code generation in a signed code environment 有权
    在签名代码环境中动态蹦床和结构化代码生成

    公开(公告)号:US08700880B2

    公开(公告)日:2014-04-15

    申请号:US13673757

    申请日:2012-11-09

    Applicant: Apple Inc.

    CPC classification number: G06F9/44521 G06F9/4484 G06F21/51

    Abstract: A method and apparatus for performing a function based on an executable code in response to receiving a request including function parameters are described. The executable code may be validated when loaded in a memory according to a signature statically signed over the executable code. A data location in the memory for storing the function parameters may be determined according location settings included inside the executable code. A target code location for storing a copy of the executable code may be determined based on the location parameters and the determined data location. A function is performed by executing the executable code from the target code location referencing the stored function parameters.

    Abstract translation: 描述了一种用于响应于接收到包括功能参数的请求而执行基于可执行代码的功能的方法和装置。 根据通过可执行代码静态签名的签名,可执行代码可以在加载到存储器中时被验证。 用于存储功能参数的存储器中的数据位置可以根据包括在可执行代码内的位置设置来确定。 可以基于位置参数和确定的数据位置来确定用于存储可执行代码的副本的目标代码位置。 通过从参考所存储的功能参数的目标代码位置执行可执行代码来执行功能。

Patent Agency Ranking