17550516. PROTECTION OF CALL STACK simplified abstract (INTERNATIONAL BUSINESS MACHINES CORPORATION)

From WikiPatents
Jump to navigation Jump to search

PROTECTION OF CALL STACK

Organization Name

INTERNATIONAL BUSINESS MACHINES CORPORATION

Inventor(s)

Naijie Li of Haidian Dist (CN)

Jing Lu of Beijing (CN)

Ming Ran Liu of Beijing (CN)

Xiao Yan Tang of Beijing (CN)

Yuan Zhai of Beijing (CN)

Guang Han Sui of Beijing (CN)

PROTECTION OF CALL STACK - A simplified explanation of the abstract

This abstract first appeared for US patent application 17550516 titled 'PROTECTION OF CALL STACK

Simplified Explanation

Abstract

A patent application describes a method for allocating memory in a computer to improve the efficiency of function calls in a program. The method involves allocating a first memory page as a stack to store meta data for function calls, and generating a memory protection key for this page. Additionally, a second memory page is allocated as a stack to store user data for function calls.

Patent/Innovation Explanation

  • Memory allocation: The method involves allocating specific memory pages for storing meta data and user data related to function calls in a program.
  • First stack: The first memory page is designated as a stack to buffer meta data, such as information about the function being called and its parameters.
  • Memory protection key: A unique memory protection key is generated for the first memory page, ensuring that only authorized access is allowed.
  • Second stack: The second memory page is designated as a stack to buffer user data, which can include input values or variables used within the function.
  • Improved efficiency: By separating meta data and user data into dedicated memory pages, the method aims to enhance the efficiency of function calls in the program.

Potential Applications

This technology can find applications in various areas where efficient function calls are crucial, such as:

  • Operating systems
  • Programming languages
  • Software development tools

Problems Solved

The method addresses the following problems related to function calls in a program:

  • Memory management: By allocating separate memory pages for meta data and user data, the method simplifies memory management and improves overall efficiency.
  • Data organization: The use of dedicated stacks for meta data and user data helps in organizing and accessing relevant information during function calls.

Benefits

The patent application offers several benefits:

  • Improved performance: By optimizing memory allocation and separating data types, the method can enhance the performance of function calls in a program.
  • Enhanced security: The generation of a memory protection key ensures that unauthorized access to the meta data stack is prevented.
  • Simplified development: The method provides a structured approach to memory management, making it easier for developers to handle function calls effectively.


Original Abstract Submitted

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.