Method for detecting circular buffer overrun
Abstract
A computer implemented method, data processing system, and computer program product for detecting circular buffer overflow. When an entry in the circular buffer is read, a valid mark bit in the entry is set to an inactive state and the location of the entry is stored as an entry previously processed. A valid mark bit of a next entry and the valid mark bit in the entry previously processed are read. Responsive to determining that the valid mark bit in the entry previously processed is in the inactive state and the valid mark bit in the next entry is in an active state, the next entry is read, the valid mark bit in the next entry is set to an incactive state, and the location of the next entry is stored as the entry previously processed. Responsive to determining that the valid mark bit in the entry previously processed is in the active state, a determination is made that a circular buffer overflow has occurred.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented method in a data processing system of detecting circular buffer overflow, the computer implemented method comprising: reading an entry in the circular buffer; responsive to reading the entry, setting a valid mark bit in the entry to an inactive state; responsive to setting the valid mark bit in the entry, storing a location of the entry as an entry previously processed; reading a valid mark bit in a next entry and the valid mark bit in the entry previously processed, wherein the next entry is located in the circular buffer immediately after the entry previously processed
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,537,453 B2 | Multithreaded lossy queue protocol | 2022 | 0 |
| US 9,965,219 B2 | Synchronizing a cursor based on consumer and producer throughputs | 2018 | 0 |
References Cited — Backward Prior Art (19)
Non-Patent Literature (1)
- W de Bruijn et al. "Beltway buffers: Avoiding the OS Traffic Jam." INFOCOM 2008. The 27th Conference on Computer Communications, Apr. 13-18, 2008 (May 2, 2008). http://ieeexplore.ieee.org/xpls/abs-all.jsp?arnumber=4509631.