728x90
enacting some ugly hack
한국어 의미
유지보수가 어렵고 비표준적인 임시 해결책(‘엉성한 해킹’)을 실제로 적용/시행하는 것. 주로 빠른 패치나 회피용 코드로, 장기적으로는 문제를 일으킬 수 있다.
실용 예문
- Rather than refactor the legacy module, we ended up enacting some ugly hack to fix the bug before the release.
- Enacting some ugly hack at the driver level caused unpredictable behavior under heavy load.
- The CI pipeline failed because someone enacted some ugly hack that hard-coded credentials into the repo.
time-tested approach
한국어 의미
오랜 시간 동안 검증되어 신뢰할 수 있는 접근법이나 방법론. 안정성·예측 가능성이 중요할 때 선택하는 방법.
실용 예문
- When performance matters, use a time-tested approach like caching rather than premature micro-optimizations.
- For production rollout they followed a time-tested approach: blue-green deployment to minimize downtime.
- Instead of inventing a new concurrency model, the team relied on a time-tested approach — thread pools and message queues.
return-from-trap instruction
한국어 의미
트랩(예외·인터럽트) 처리 후에 CPU가 이전 실행 컨텍스트로 복귀하도록 하는 특권 명령어. 상태 복원과 권한(특권) 레벨 복귀를 수행함(예: x86의 IRET, RISC-V의 MRET/SRET 등).
실용 예문
- After the kernel handles a page fault, it executes the return-from-trap instruction to restore the user context and resume the faulting process.
- The return-from-trap instruction must run in privileged mode — executing it from user mode triggers another exception.
- When writing an interrupt handler in assembly, save registers, handle the interrupt, then execute the CPU’s return-from-trap instruction to return cleanly.
trap table
한국어 의미
트랩(예외·인터럽트·시스템 호출) 벡터와 그에 대응하는 처리기(핸들러)를 매핑한 테이블형 데이터 구조. 예외나 인터럽트가 발생했을 때 CPU가 참조하여 적절한 서비스 루틴으로 제어를 전달한다(예: x86의 IDT, ARM 벡터 테이블).
실용 예문
- The kernel initializes the trap table early in boot so page faults and timer interrupts are routed to the correct handlers.
- Adding a new syscall requires adding or registering an entry in the trap table (or syscall dispatch) so user requests reach the new handler.
- The hypervisor replaces the guest’s trap table entries to intercept privileged instructions and implement virtualization.
process structure entry
한국어 의미
프로세스 구조(프로세스 제어 블록·프로세스 테이블)의 개별 항목(레코드). PID, 상태, 저장된 레지스터, 프로그램 카운터, 메모리 맵, 열린 파일 목록, 스케줄링 정보 등 프로세스 관리에 필요한 정보를 담는다.
실용 예문
- When the kernel forks a process it allocates a new process structure entry and copies or initializes fields like the PID, memory map, and file descriptors.
- The scheduler reads the priority and runtime fields in each process structure entry to decide which process to run next.
- During a context switch the CPU registers are saved into the process structure entry of the outgoing process and restored from the entry of the incoming one.
aside
한국어 의미
- (명사) 본문에서 벗어난 짧은 덧붙임이나 여담(곁들임).
- (전치사구) ~을 제쳐두고(aside from).
- (웹/HTML) <aside>: 보조 콘텐츠(사이드바 등)를 나타내는 시맨틱 요소.
실용 예문
- Aside from the network latency, the service performs well under load.
- Put the related links and author bio inside an <aside> so screen readers treat them as supplementary content.
- In the design meeting she made a brief aside about backward compatibility before returning to the main topic.
trap into kernel
한국어 의미
사용자 모드에서 예외(트랩)를 발생시켜 CPU 제어를 커널(특권 모드)로 전환하는 과정. 소프트웨어 트랩(시스템 콜)이나 하드웨어 예외(페이지 폴트 등)를 통해 발생한다.
실용 예문
- The program executes a syscall instruction to trap into kernel and request file I/O.
- A null-pointer dereference traps into kernel with a page-fault so the OS can handle or terminate the process.
- The emulator forces certain privileged instructions to trap into kernel for the hypervisor to emulate.
728x90
'끄적끄적(Memo)' 카테고리의 다른 글
| 20251007 오늘의 영어 표현 정리 (0) | 2025.10.07 |
|---|---|
| 20250829 오늘의 영어 표현 정리 (2) | 2025.09.01 |
| 20250824 오늘의 영어 표현 정리 (2) | 2025.08.24 |
| 20250823 오늘의 영어 표현 정리 (2) | 2025.08.23 |
댓글