-
公开(公告)号:US20230136606A1
公开(公告)日:2023-05-04
申请号:US17518069
申请日:2021-11-03
Applicant: International Business Machines Corporation
Inventor: Xiao Yan Tang , Naijie Li , Jing Lu , Ming Ran Liu , Yuan Zhai , Kershaw S. Mehta
Abstract: Global variables are shared between programs associated with different addressing modes. A first program of an application records an allocated address to a global variable in a global variable sharing area (GVSA). The first program is associated with a first addressing mode. The first program specifies the global variable to be shared across different addressing modes. An address of the GVSA is passed to a second program of the application that is loaded after the first program has been loaded. The second program is associated with a second addressing mode different from the first addressing mode. The second program also specifies the global variable in the second program to be shared across different addressing modes. The second program retrieves the allocated address to the global variable from the GVSA based on the address of the GVSA. The second program accesses the global variable based on the retrieved allocated address.
-
公开(公告)号:US11500653B2
公开(公告)日:2022-11-15
申请号:US16782107
申请日:2020-02-05
Applicant: International Business Machines Corporation
Inventor: Ming Ran Liu , Bao Zhang , Naijie Li , Jing Lu , Xiao Yan Tang , Kershaw S. Mehta
Abstract: Techniques for signal handling between programs associated with different addressing modes in a computer system are described herein. An aspect includes, based on a signal occurring during execution of a first program in a first runtime environment, wherein the first program and the first runtime environment are associated with a first addressing mode, invoking a first signal exit routine associated with the first addressing mode. Another aspect includes allocating a signal information area (SIA) by the first signal exit routine. Another aspect includes calling a second signal exit routine associated with a second addressing mode that is different from the first addressing mode with an address of the SIA. Another aspect includes allocating a mirror SIA by the second signal exit routine. Another aspect includes handling the signal, and resuming execution based on the handling of the signal.
-
公开(公告)号:US11947993B2
公开(公告)日:2024-04-02
申请号:US17353945
申请日:2021-06-22
Applicant: International Business Machines Corporation
Inventor: Ming Ran Liu , Jing Lu , Naijie Li , Xiao Yan Tang , Yuan Zhai , Kershaw S. Mehta
CPC classification number: G06F9/463 , G06F9/34 , G06F9/45508 , G06F9/544 , G06F9/546
Abstract: A computer-implemented method includes creating a first file control block in a primary runtime environment with a first addressing mode and a second file control block in a secondary runtime environment with a second addressing mode, where both the first file control block and the second file control block describe a status of a first file of a caller program in the primary runtime environment. The parameters of the first file of the caller program in the primary runtime environment are passed to a target callee program in the secondary runtime environment. An anchor is added in the first file control block as a link to the second file control block. The first file control block are the second file control block synchronized with updates to the first file in the primary runtime environment and the passed parameters of the first file in the secondary runtime environment.
-
公开(公告)号:US11556356B1
公开(公告)日:2023-01-17
申请号:US17483776
申请日:2021-09-23
Applicant: International Business Machines Corporation
Inventor: Naijie Li , Jing Lu , Xiao Yan Tang , Ming Ran Liu , Yuan Zhai , Kershaw S. Mehta
Abstract: A call to an external interface to execute a target callee program associated with a first addressing mode in a secondary runtime environment (RTE) is received from a caller program associated with a second addressing mode running in a primary RTE. An address of a share area (SA) storing existing dynamic link object information in the primary RTE in storage is passed to the secondary RTE. The SA is accessible by both the caller program and the target callee program. In response to a request to load a dynamic link object by an initiating program during execution of the target callee program in the secondary RTE, an entry address of the dynamic link object is retrieved in the SA. The dynamic link object is loaded based on the retrieved entry address of the dynamic link object.
-
公开(公告)号:US12254079B2
公开(公告)日:2025-03-18
申请号:US17662710
申请日:2022-05-10
Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
Inventor: Naijie Li , Min Cheng , Kui Zhang , Yi Chai , Guang Han Sui
Abstract: Embodiments of the present disclosure relate to a method, system and computer program product for providing system services. In some embodiments, a method is disclosed. According to the method, from a user program in a user address space, a request for a system service is received via a program call instruction of a set of program call instructions in an application interface code library. Based on the program call instruction, a target authorized address space of a plurality of authorized address spaces and a target system service routine for providing the system service in the target authorized address space is determined. A result of running the target system service routine in the target authorized address space is returned to the user program as a response to the request.
-
公开(公告)号:US20240232098A9
公开(公告)日:2024-07-11
申请号:US17970122
申请日:2022-10-20
Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
Inventor: Naijie Li , Dong Hui Liu , Jing Lu , Peng Hui Jiang , Xiao Yan Tang , Bao Zhang , Yong Yin , Jun Su , Jia Yu
IPC: G06F12/1027 , G06N20/00
CPC classification number: G06F12/1027 , G06N20/00 , G06F2212/684
Abstract: A method, including: identifying static application features of an application; identifying resource access features of the application; labeling a translation lookaside buffer (TLB) miss threshold of a runtime feature of the application; determining utilization of larger pages during the runtime based on the TLB miss threshold; and setting the TLB miss threshold based on the determined utilization of the larger pages.
-
公开(公告)号:US20240211409A1
公开(公告)日:2024-06-27
申请号:US18085706
申请日:2022-12-21
Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
Inventor: Dong Hui Liu , Jing Lu , Peng Hui Jiang , Naijie Li , Xiao Yan Tang , Bao Zhang , Jun Su , Yong Yin , Jia Yu
IPC: G06F12/1009 , G06F12/0882 , G06F12/1027
CPC classification number: G06F12/1009 , G06F12/0882 , G06F12/1027
Abstract: A method, including: monitoring resource utilization of an operating system (OS) with applications utilizing larger pages; determining the monitored resource utilization is greater than a threshold resource utilization; in response to the determining the monitored resource utilization is greater than a threshold resource utilization, determining a respective larger pages index value for each of the applications utilizing larger pages; and turning off larger pages utilization of a subset of the applications utilizing larger pages, wherein the subset comprises a predefined number of the applications utilizing larger pages that have highest determined larger pages index values.
-
公开(公告)号:US20230185903A1
公开(公告)日:2023-06-15
申请号:US17550516
申请日:2021-12-14
Applicant: International Business Machines Corporation
Inventor: Naijie Li , Jing Lu , Ming Ran Liu , Xiao Yan Tang , Yuan Zhai , Guang Han Sui
IPC: G06F21/54
CPC classification number: G06F21/54 , G06F2221/033
Abstract: A first memory page in a memory of the computer is allocated as a first stack to buffer meta data for function calls in the program. A memory protection key for the first memory page is generated. A second memory page in the memory is allocated as a second stack to buffer user data for function calls in the program.
-
公开(公告)号:US11249760B2
公开(公告)日:2022-02-15
申请号:US16380232
申请日:2019-04-10
Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
Inventor: Jing Lu , Bao Zhang , Naijie Li , Jin Hong Fu , Kershaw Mehta
Abstract: Methods, systems, and computer program products for parameter management between programs with different addressing modes are described. A request may be received from a first program with a first addressing mode in a first runtime environment for calling a second program with a second addressing mode different from the first addressing mode, where at least one parameter included in the request is for calling the second program. A parameter area may be allocated in the first runtime environment for the at least one parameter. The at least one parameter may be stored in the allocated parameter area. The second program may be invoked based at least in part on the at least one parameter in the allocated parameter area. In this manner, parameter(s) may be communicated between the first program and the second program in an easy and effective way.
-
公开(公告)号:US12277066B2
公开(公告)日:2025-04-15
申请号:US18085706
申请日:2022-12-21
Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
Inventor: Dong Hui Liu , Jing Lu , Peng Hui Jiang , Naijie Li , Xiao Yan Tang , Bao Zhang , Jun Su , Yong Yin , Jia Yu
IPC: G06F3/00 , G06F12/00 , G06F12/0882 , G06F12/1009 , G06F12/1027 , G06F13/00
Abstract: A method, including: monitoring resource utilization of an operating system (OS) with applications utilizing larger pages; determining the monitored resource utilization is greater than a threshold resource utilization; in response to the determining the monitored resource utilization is greater than a threshold resource utilization, determining a respective larger pages index value for each of the applications utilizing larger pages; and turning off larger pages utilization of a subset of the applications utilizing larger pages, wherein the subset comprises a predefined number of the applications utilizing larger pages that have highest determined larger pages index values.
-
-
-
-
-
-
-
-
-