Patents
US 5,950,221 A#392697 Most CitedExpiredUnited States (USPTO)Utility

Variably-sized kernel memory stacks

78Forward Citations (#392697 Global)
2.9/yrCitation Velocity (#967383 Global)
17.14Citation PageRank (#432186 Global)
4Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

The invention includes a computer system having a processor that executes program instructions in privileged and non-privileged execution modes. A user stack is used when the processor is executing in the non-privileged execution mode. A kernel memory stack is used when the processor is executing in the privileged execution mode. The kernel memory stack can grow and shrink dynamically as it is used by its associated thread, through the use of allocate-on-demand memory. A stack overflow handler is executed from within the kernel to resolve allocate-on-demand faults. The stack handler uses only fixed-size memory stacks.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 78.

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    In a computer system having privileged and non-privileged execution modes, a method comprising the following steps: using a variably-sized kernel memory stack in the privileged execution mode; executing a stack overflow handler that dynamically allocates additional memory for the variably-sized kernel memory stack; using a fixed-size memory stack for the stack overflow handler.

  2. Claim 2Depends on #1

    A method as recited in claim 1, wherein the stack overflow handler dynamically allocates additional memory for the variably-sized kernel memory stack in response to allocate-on-demand memory faults.

  3. Claim 3Depends on #1

    A method as recited in claim 1, further comprising a step of initiating the stack overflow handler in response to memory faults.

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (4)

  • Bala, Kavita et al., "Software Prefetching and Caching for Translation Lookaside Buffers," MIT Laboratory for Computer Science, Cambridge, MA, date unknown.
  • Bala, Kavita et al., Software Prefetching and Caching for Translation Lookaside Buffers, MIT Laboratory for Computer Science, Cambridge, MA, date unknown.
  • Rashid, Richard et al., "Machine-Independent Virtual Memory Management for Paged Uniprocessor and Multiprocessor Architectures," Department of Computer Science, Carnegie Mellon University, 1987.
  • Rashid, Richard et al., Machine Independent Virtual Memory Management for Paged Uniprocessor and Multiprocessor Architectures, Department of Computer Science, Carnegie Mellon University, 1987.