Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for implementing parallel multi-core configuration lock on MIPS platform

A multi-core, platform technology, applied in the MIPS multi-core field, can solve the problem of lock re-entrancy, not solve the problem of lock re-entrancy, etc., and achieve the effect of good stability

Active Publication Date: 2011-06-08
BEIJING TOPSEC NETWORK SECURITY TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of event response processing, lock re-entry phenomenon sometimes occurs. The so-called lock re-entry phenomenon means that a notifier event is triggered in a notifier processing function; in the existing lock technology, the problem of lock re-entry has not been solved plan

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for implementing parallel multi-core configuration lock on MIPS platform
  • Method for implementing parallel multi-core configuration lock on MIPS platform
  • Method for implementing parallel multi-core configuration lock on MIPS platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Preferred embodiments of the present invention will be specifically described below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of the application and are used together with the embodiments of the present invention to explain the principles of the present invention.

[0042] The core idea of ​​the present invention is: when the lock re-entry problem occurs, update the previously added lock to the newly requested lock during the locking process; Lock recovery added. In addition, the present invention adds an atomic counter to the self-defined lock, and implements the priority of the self-defined lock through the atomic counter.

[0043] The method described in the embodiment of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0044] Usually, different systems / codes are run on multi-core CPUs, including TOS and fast_path. They will access firewall configuration...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an implementation method of an MIPS platform down parallel multinuclear allocation lock, which is used to solve the problem of lock reentrant in the prior art. The method comprises that: predefining a plurality of locks according to a basic lock which is provided by a system, and the locks comprise an application layer system calling adding lock, an application layer system calling releasing lock, an application layer system calling repeated adding lock, a timer lock, a timer unlock and a timer repeated adding lock. Redefining two locks which are an event response update lock and an event response recover lock according to the predefined locks. During the event response treatment process, when generating the problem that the lock is reentered, the event response update lock is called to add a lock or update to a new lock in an event response function, after the event response function finishes to be treated, the event response recover lock is called to release the lock or recover to a previous adding lock. Through the method, an operating system on a multinuclear architecture has excellent stability, robustness, expansibility, safety and parallelism.

Description

technical field [0001] The invention relates to the field of MIPS (Microprocessor without interlocked piped stages) multi-core technology, in particular to a method for realizing parallel multi-core configuration locks under the MIPS platform. Background technique [0002] The MIPS multi-core processor based on the MIPS instruction set occupies the mainstream position in the embedded system. At present, it occupies most of the market in set-top boxes, information terminals, and network connection equipment, and has entered the field of network security equipment. In the framework of multi-core parallelism, the problem of parallel access to some shared resources is the key technology in the whole architecture. [0003] The Linux system provides the most basic locks, including: read lock (read_lock): multiple read locks can be acquired for the same resource at the same time, so that these codes can be executed in parallel; A write lock, and the resources to be protected cann...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/46
Inventor 王震吴亚飚张宏君
Owner BEIJING TOPSEC NETWORK SECURITY TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products