Memory management of data processing systems

    公开(公告)号:US10956172B2

    公开(公告)日:2021-03-23

    申请号:US15962298

    申请日:2018-04-25

    申请人: Apple Inc.

    摘要: Techniques for memory management of a data processing system are described herein. According to one embodiment, a memory usage monitor executed by a processor of a data processing system monitors memory usages of groups of programs running within a memory of the data processing system. In response to determining that a first memory usage of a first group of the programs exceeds a first predetermined threshold, a user level reboot is performed in which one or more applications running within a user space of an operating system of the data processing system are terminated and relaunched. In response to determining that a second memory usage of a second group of the programs exceeds a second predetermined threshold, a system level reboot is performed in which one or more system components running within a kernel space of the operating system are terminated and relaunched.

    Simulated input/output devices
    3.
    发明授权
    Simulated input/output devices 有权
    模拟输入/输出设备

    公开(公告)号:US09418181B2

    公开(公告)日:2016-08-16

    申请号:US13737927

    申请日:2013-01-09

    申请人: Apple Inc.

    IPC分类号: G06F17/50

    摘要: In one or more embodiments, methods and apparatus are provided for simulating device communications such as those of the Universal Serial Bus (“USB”) or the like. The methods and apparatus involve receiving host requests that represent commands in a communication protocol and are associated with communication endpoints, distributing the host requests across the communication endpoints in the order that they are received, to their associated endpoints to generate a distribution of requests, generating a reordered plurality of host requests by selecting the host requests from the communication endpoints in an order based upon the order in which the requests are received and one or more simulation factors, receiving device requests from a simulated device in accordance with the communication protocol, merging the reordered host requests and the plurality of device requests to form a merged sequence of requests, and performing commands from the merged sequence of requests in the order.

    摘要翻译: 在一个或多个实施例中,提供了用于模拟诸如通用串行总线(“USB”)等的设备通信的方法和装置。 所述方法和装置涉及接收表示通信协议中的命令的主机请求,并且与通信端点相关联,将主机请求按照它们所接收的顺序跨越通信端点分发到其相关联的端点以生成请求分布,生成 通过基于接收到请求的顺序的一个顺序选择来自通信端点的主机请求的一个或多个模拟因子,根据通信协议从仿真设备接收设备请求,合并来重新排序的多个主机请求 重新排序的主机请求和多个设备请求以形成合并的请求序列,以及从顺序的合并的请求序列执行命令。

    SECURE CIRCUIT CONTROL TO DISABLE CIRCUITRY
    4.
    发明申请

    公开(公告)号:US20190026501A1

    公开(公告)日:2019-01-24

    申请号:US16128396

    申请日:2018-09-11

    申请人: Apple Inc.

    IPC分类号: G06F21/76 G06F21/32

    摘要: Techniques are disclosed in which a secure circuit controls a gating circuit to enable or disable other circuitry of a device (e.g., one or more input sensors). For example, the gating circuit may be a power gating circuit and the secure circuit may be configured to disable power to an input sensor in certain situations. As another example, the gating circuit may be a clock gating circuit and the secure circuit may be configured to disable the clock to an input sensor. As yet another example, the gating circuit may be configured to gate a control bus and the secure circuit may be configured to disable control signals to an input sensor. In some embodiments, hardware resources included in or controlled by the secure circuit are not accessible by other elements of the device, other than by sending requests to a predetermined set of memory locations (e.g., a secure mailbox).

    Resource management with dynamic resource policies

    公开(公告)号:US11586451B2

    公开(公告)日:2023-02-21

    申请号:US17201640

    申请日:2021-03-15

    申请人: Apple Inc.

    摘要: A method and apparatus of a device for resource management by using a hierarchy of resource management techniques with dynamic resource policies is described. The device terminates several misbehaving application programs when available memory on the device is running low. Each of those misbehaving application programs consumes more memory space than a memory consumption limit assigned to the application program. If available memory on the device is still low after terminating those misbehaving application programs, the device further sends memory pressure notifications to all application programs. If available memory on the device is still running low after sending the memory pressure notifications, the device further terminates background, idle, and suspended application programs. The device further terminates foreground application programs when available memory on the device is still low after terminating the background, idle, and suspended application programs.

    Secure circuit control to disable circuitry

    公开(公告)号:US11176280B2

    公开(公告)日:2021-11-16

    申请号:US15720736

    申请日:2017-09-29

    申请人: Apple Inc.

    摘要: Techniques are disclosed in which a secure circuit controls a gating circuit to enable or disable other circuity of a device (e.g., one or more input sensors). For example, the gating circuit may be a power gating circuit and the secure circuit may be configured to disable power to an input sensor in certain situations. As another example, the gating circuit may be a clock gating circuit and the secure circuit may be configured to disable the clock to an input sensor. As yet another example, the gating circuit may be configured to gate a control bus and the secure circuit may be configured to disable control signals to an input sensor. In some embodiments, hardware resources included in or controlled by the secure circuit are not accessible by other elements of the device, other than by sending requests to a predetermined set of memory locations (e.g., a secure mailbox).

    COMPRESSED FREEZER FILES
    9.
    发明申请

    公开(公告)号:US20180046396A1

    公开(公告)日:2018-02-15

    申请号:US15662908

    申请日:2017-07-28

    申请人: Apple Inc.

    IPC分类号: G06F3/06 G06F12/08

    摘要: In one embodiment, when a secondary application on an electronic device is selected for deactivation, the memory associated with the application can be gathered, compacted and compressed into a memory freezer file. The memory freezer file can be stored in non-volatile memory with a reduced storage footprint compared to a memory stored in a conventional swap file. When the selected application is to be reactivated, the compressed memory in the memory freezer file can be quickly restored to process memory.

    COMPRESSED FREEZER FILES
    10.
    发明申请
    COMPRESSED FREEZER FILES 有权
    压缩冷冻文件

    公开(公告)号:US20160357478A1

    公开(公告)日:2016-12-08

    申请号:US14728971

    申请日:2015-06-02

    申请人: Apple Inc.

    IPC分类号: G06F3/06

    摘要: In one embodiment, when a secondary application on an electronic device is selected for deactivation, the memory associated with the application can be gathered, compacted and compressed into a memory freezer file. The memory freezer file can be stored in non-volatile memory with a reduced storage footprint compared to a memory stored in a conventional swap file. When the selected application is to be reactivated, the compressed memory in the memory freezer file can be quickly restored to process memory.

    摘要翻译: 在一个实施例中,当电子设备上的辅助应用被选择用于去激活时,与应用相关联的存储器可以被收集,压缩并压缩到存储器冷冻文件中。 与存储在常规交换文件中的存储器相比,存储器冷藏文件可以存储在具有减少的存储空间的非易失性存储器中。 当所选择的应用程序重新激活时,可以快速恢复存储器冷冻文件中的压缩内存以处理内存。