운영체제 설명에서 trap, return, table은 일상 영어보다 좁은 기술 의미로 쓰인다. 당시 정리해 둔 표현을 그대로 남기되, architecture와 교재마다 구현 용어가 달라지는 부분을 구분했다.
trap into the kernel
trap into the kernel은 user mode에서 예외·interrupt·system call entry가 발생해 control이 privileged handler로 넘어가는 과정을 설명하는 표현이다. 교재의 짧은 문장에서는 관사 없이 trap into kernel이라고 적기도 하지만 일반 문장에서는 the kernel이 자연스럽다.
The process executes a system-call instruction and traps into the kernel to request file I/O.
null pointer 접근이 곧바로 “kernel이 process를 종료한다”는 뜻은 아니다. CPU가 page fault를 일으켜 kernel handler로 control을 넘기고, kernel이 해결할 수 없으면 Unix-like OS는 process에 signal을 전달할 수 있다.
trap table
교재에서 trap table은 trap number·cause와 handler entry를 연결하는 구조를 넓게 부르는 말이다.
The kernel initializes the trap table before allowing user programs to run.
실제 architecture의 명칭은 다르다. x86에는 IDT(Interrupt Descriptor Table)가 있고, ARM은 exception vector, RISC-V는 trap-vector register와 cause register를 사용한다. system call dispatch도 architecture별 entry path와 kernel table로 나뉠 수 있다. 따라서 trap table = 모든 architecture의 고정 자료구조로 외우지 않는다.
return-from-trap instruction
handler가 saved state를 복원하고 이전 privilege mode의 instruction으로 돌아갈 때 쓰는 특권 instruction을 설명한다.
After handling the fault, the kernel executes a return-from-trap instruction to resume the interrupted context.
이 역시 generic name이다. RISC-V에는 privilege level에 따라 MRET, SRET가 있고, x86 계열에는 IRET·IRETQ가 있다. 어떤 register와 state가 복원되는지는 ISA와 entry path에 따라 달라진다. user mode에서 마음대로 실행할 수 있는 일반 return instruction과 구분해야 한다.
process structure entry
process structure entry는 process table이나 process control structure의 한 record를 가리키는 설명형 표현이다.
The scheduler reads the runnable state stored in each process structure entry.
표준화된 source identifier는 아니다. Linux의 task_struct, 교재의 PCB(Process Control Block), 다른 kernel의 process object는 field와 lifetime이 다르다. “항상 PID·register·memory map·file descriptor가 한 구조체에 직접 저장된다”는 식으로 구현을 고정하지 않는다.
enacting some ugly hack
enact는 법률·정책을 시행한다는 뜻이 강하다. enacting some ugly hack도 문맥상 “보기 좋지 않은 임시 workaround를 실제로 적용한다”는 의미는 전달되지만, engineering prose에서는 implementing이나 using an ugly hack이 더 자연스럽다.
Rather than fixing the ownership model, the patch implemented an ugly hack before the release.
ugly hack은 informal하고 비판적인 표현이다. incident report에서는 temporary workaround, 구체적인 trade-off와 removal plan을 쓰는 편이 명확하다.
a time-tested approach
time-tested는 오랫동안 쓰이며 신뢰를 얻은 방법을 뜻한다. 명사 앞에서 hyphen을 유지한다.
The team chose a time-tested approach and rolled out the change in small, reversible steps.
오래됐다는 사실만으로 현재 환경에서도 안전하다는 보장은 아니다. technical writing에서는 어떤 조건에서 검증됐는지 함께 적는다.
aside
aside는 문맥에 따라 역할이 달라진다.
- noun: 본문에서 잠시 벗어난 덧붙임 —
As a brief aside, ... - adverb: 옆으로·제쳐 두고 —
Set that question aside for now. aside from: ~을 제외하면·~뿐 아니라- HTML
<aside>: 본문과 간접적으로 관련된 supplementary content
Aside from startup latency, the service remained within its error budget.
Put related links in an
<aside>when they are supplementary to the main content.
비슷한 학습 목록은 운영체제 영어 표현 23개, system design 쪽 표현은 getting it right·tread carefully 표현 정리로 이어진다.
참고 자료
'배움과 성장 > 책·생각' 카테고리의 다른 글
| 여박총피법을 읽고 남긴 생각: 정보는 언제 지혜가 되는가 (0) | 2025.11.01 |
|---|---|
| 기술 문서 영어 표현 11개: traverse·logarithmic·at hand 문맥 정리 (0) | 2025.10.07 |
| 시스템 설계 영어 표현: getting it right·crux·tread carefully (2) | 2025.09.01 |
| 운영체제 원서에서 만난 영어 표현 24개: 기술 문맥까지 함께 정리 (2) | 2025.08.24 |
| 운영체제 영어 표현 23개: crux·headway·copy-on-write (2) | 2025.08.23 |
댓글