Opened 17 years ago
Last modified 15 years ago
#10 new enhancement
Register window thrashing
| Reported by: | Jakub Jermář | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | helenos/kernel/sparc64 | Version: | mainline |
| Keywords: | Cc: | ||
| Blocker for: | Depends on: | ||
| See also: |
Description
The following snippet of userspace pseudo code demonstrates situation in which the kernel might repeatedly spill and fill several windows from the OTHERWIN area:
for (i = 0; i < 10000; i++) {
syscall();
}
If the syscall handler spills N userspace windows, all N windows will be restored from the userspace window buffer on return from the syscall in each iteration.
This sub-optimal behaviour was first pointed out by Mikulas Patocka.
Change History (2)
comment:1 by , 17 years ago
| Component: | → kernel/sparc64 |
|---|
comment:2 by , 15 years ago
| Type: | defect → enhancement |
|---|
Note:
See TracTickets
for help on using tickets.
