WO2007094460A1 - 並列処理装置及び排他制御方法 - Google Patents

並列処理装置及び排他制御方法 Download PDF

Info

Publication number
WO2007094460A1
WO2007094460A1 PCT/JP2007/052863 JP2007052863W WO2007094460A1 WO 2007094460 A1 WO2007094460 A1 WO 2007094460A1 JP 2007052863 W JP2007052863 W JP 2007052863W WO 2007094460 A1 WO2007094460 A1 WO 2007094460A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
interrupt
processor
exclusive control
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/JP2007/052863
Other languages
English (en)
French (fr)
Japanese (ja)
Inventor
Akinari Todoroki
Akihiko Tamura
Katsuya Tanaka
Hiroaki Takada
Shinya Honda
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nagoya University
Seiko Epson Corp
Original Assignee
Nagoya University
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nagoya University, Seiko Epson Corp filed Critical Nagoya University
Priority to US11/886,326 priority Critical patent/US7702836B2/en
Priority to EP07714393A priority patent/EP1986097A4/en
Publication of WO2007094460A1 publication Critical patent/WO2007094460A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00—Arrangements for program control, e.g. control units
    • G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46—Multiprogramming arrangements
    • G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • G06F9/526—Mutual exclusion algorithms
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00—Arrangements for program control, e.g. control units
    • G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46—Multiprogramming arrangements
    • G06F9/48—Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806—Task transfer initiation or dispatching
    • G06F9/4812—Task transfer initiation or dispatching by interrupt, e.g. masked

Definitions

  • One unit processor can reliably process this task without being affected by other tasks.
  • interrupt processing by the interrupt processor is prohibited during execution of exclusive control, eliminating the possibility of interrupt processing that occurs regardless of the OS accessing the common area of the first unit processor and memory, and Highly, it is possible to obtain high processing efficiency by properly controlling the exclusive.
  • FIG. 2 is a block diagram showing the internal configuration of the CPU 10.
  • the CPU 10 includes a plurality of unit processors P0 to P3, an interrupt control unit 11, a memory control unit 12, and a hardware semaphore unit 13.
  • the hardware semaphore unit 13 is configured to give a semaphore (in this embodiment, referred to as a hard semaphore) that is a right to become an OS to any unit processor.
  • the unit processors P0 to P3 are processors that can process tasks in parallel. Since the internal configurations of the unit processors P0 to P3 are the same, the internal configuration of the unit processor P0 will be described as a representative. In this embodiment, all of the unit processors P0 to P3 are interrupt processors capable of interrupt processing.
  • the ALU 103 performs a predetermined operation according to the decoding result input by the decoding unit 102, writes the operation result to the register file 104, and outputs the operation result such as a branch instruction.
  • the branch destination address is output to the program control unit 105.
  • the register file 104 is a register group that stores data read from the memory 30 by the load instruction and data that is the operation result of the ALU 103.
  • the processor control unit 105 first receives the acquisition result of the hardware semaphore, and acquires the hardware semaphore in the status register. A flag indicating that the acquisition is successful is updated in an area indicating the result (hereinafter referred to as “semaphore acquisition result register”). On the other hand, if semaphore acquisition fails, the flag is updated to indicate that acquisition failed.
  • step S803 If it is determined in step S803 that the hardware semaphore cannot be acquired (S803: No), the task sets the eviction prohibition flag 106 of the unit processor P1 to 0 and cancels the interrupt inhibition (S807).
  • the service call requested by the task being processed by another unit processor can be excluded while this unit processor is locked. set to target. Tasks in other unit processors are exclusive unless a service call is made Not subject to.
  • the unit processor P1 while the unit processor P1 repeatedly acquires the hardware semaphore, the unit processor P2 issues unl-cpu. As a result, the unit processor P1 obtains the hardware semaphore (S803: Yes) and executes the necessary service call (S804). Also, as shown in Fig. 9, the unit processor 2 issues unl-cpu. The external interrupt prohibition is canceled (S901), the hardware semaphore is released (S902), and the interrupt prohibition of the unit processor is canceled (S903).
  • FIG. 6 is a flowchart showing a modification of the process represented by the flowchart shown in FIG. 5.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
PCT/JP2007/052863 2006-02-16 2007-02-16 並列処理装置及び排他制御方法 Ceased WO2007094460A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US11/886,326 US7702836B2 (en) 2006-02-16 2007-02-16 Parallel processing device and exclusive control method
EP07714393A EP1986097A4 (en) 2006-02-16 2007-02-16 Parallel processing device and exclusive access control

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006039093A JP4441592B2 (ja) 2006-02-16 2006-02-16 並列処理装置及び排他制御方法
JP2006-039093 2006-02-16

Publications (1)

Publication Number Publication Date
WO2007094460A1 true WO2007094460A1 (ja) 2007-08-23

Family

ID=38371636

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2007/052863 Ceased WO2007094460A1 (ja) 2006-02-16 2007-02-16 並列処理装置及び排他制御方法

Country Status (4)

Country Link
US (1) US7702836B2 (enExample)
EP (1) EP1986097A4 (enExample)
JP (1) JP4441592B2 (enExample)
WO (1) WO2007094460A1 (enExample)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8013112B2 (en) 2006-09-07 2011-09-06 Abbott Laboratories Compositions comprising human brain natriuretic peptide (BNP) fragments

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010039582A (ja) 2008-07-31 2010-02-18 Panasonic Corp リソース排他制御システム、装置、方法およびプログラム
US10740150B2 (en) * 2018-07-11 2020-08-11 X-Drive Technology, Inc. Programmable state machine controller in a parallel processing system
US12638899B2 (en) * 2023-07-31 2026-05-26 Mediatek Inc. Fast power control mechanism for multi users

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04343159A (ja) * 1991-05-20 1992-11-30 Nec Corp 共有資源の排他制御方式

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5161227A (en) * 1989-11-13 1992-11-03 International Business Machines Corporation Multilevel locking system and method
US6038584A (en) * 1989-11-17 2000-03-14 Texas Instruments Incorporated Synchronized MIMD multi-processing system and method of operation
JPH04308961A (ja) * 1991-01-18 1992-10-30 Ncr Corp 占有されたプロセスの同期ロックの状態を通知するための手段及び装置
JPH08297581A (ja) 1995-02-28 1996-11-12 Nec Corp リアルタイム・オペレーティングシステムにおける割り込み管理方式
US6148361A (en) * 1998-12-17 2000-11-14 International Business Machines Corporation Interrupt architecture for a non-uniform memory access (NUMA) data processing system
US6430643B1 (en) * 1999-09-02 2002-08-06 International Business Machines Corporation Method and system for assigning interrupts among multiple interrupt presentation controllers
US6775730B2 (en) * 2001-04-18 2004-08-10 Sony Corporation System and method for implementing a flexible interrupt mechanism
US7117285B2 (en) * 2003-08-29 2006-10-03 Sun Microsystems, Inc. Method and system for efficiently directing interrupts
JP2006216042A (ja) * 2005-02-04 2006-08-17 Sony Computer Entertainment Inc 割り込み処理のためのシステムおよび方法

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04343159A (ja) * 1991-05-20 1992-11-30 Nec Corp 共有資源の排他制御方式

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
BOVET D. ET AL.: "Shokai LINUX Kernel", vol. 2ND ED., 24 June 2003, O'REILLY JAPAN, INC., pages: 200 - 203, XP003016726 *
TAKADA H. AND HONDA S.: "Kino Bunsan Multi Processor Muke no Real Time OS", JOHO SHORI, vol. 47, no. 1, 15 January 2006 (2006-01-15), pages 41 - 47, XP003016724 *
TAKADA; SAKAMURA: "Predictable Spin Lock Algorithms with Preemption", REAL-TIME OPERATING SYSTEMS AND SOFTWARE, 1994, RTOSS '94, PROCEEDINGS, 11TH IEEE WORKSHOP ON SEATTLE, WA, USA, 18 May 1994 (1994-05-18), pages 2 - 6
TAKAHASHI H.: "Linux Kernel 2.6 Kaidokushitsu", UNIX USER, vol. 13, no. 10, 1 October 2004 (2004-10-01), pages 119 - 134, XP003016725 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8013112B2 (en) 2006-09-07 2011-09-06 Abbott Laboratories Compositions comprising human brain natriuretic peptide (BNP) fragments

Also Published As

Publication number Publication date
JP2007219800A (ja) 2007-08-30
JP4441592B2 (ja) 2010-03-31
EP1986097A1 (en) 2008-10-29
US7702836B2 (en) 2010-04-20
EP1986097A4 (en) 2010-01-27
US20080288693A1 (en) 2008-11-20

Similar Documents

Publication Publication Date Title
US7877753B2 (en) Multi-processor system and program for causing computer to execute controlling method of interruption of multi-processor system
US7734881B2 (en) Adapting RCU for real-time operating system usage
KR100746797B1 (ko) 프로세서 및 정보처리 방법
CN108920267B (zh) 任务处理装置
CN100380329C (zh) 处理器及信息处理方法
US20080140896A1 (en) Processor and interrupt controlling method
WO2007088816A1 (ja) マルチプロセッサシステム及びマルチプロセッサシステムの制御方法をコンピュータに実行させるためのプログラム
US7702836B2 (en) Parallel processing device and exclusive control method
US7523229B2 (en) Memory protection during direct memory access
JP2006243864A (ja) プロセッサおよび情報処理方法
JP4797422B2 (ja) プロセッサおよびディスパッチ制御方法
JP5376042B2 (ja) マルチコアプロセッサシステム、スレッド切り替え制御方法、およびスレッド切り替え制御プログラム
KR100506254B1 (ko) 임베디드 시스템의 비특권 모드에서 인터럽트 처리를 위한장치 및 방법
JP4389797B2 (ja) プロセッサおよび情報処理方法
JP5582241B2 (ja) マルチコアプロセッサシステム、マルチコアプロセッサシステムの制御方法、およびマルチコアプロセッサシステムの制御プログラム
JPH06259383A (ja) 割込み制御方法及び割込み制御装置
JP2001306542A (ja) マルチプロセッサシステム
JPH04306757A (ja) マイクロプロセッサ

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2007714393

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 11886326

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE