Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 14 years ago

Last modified 13 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 Changed 14 years ago by Jiri Svoboda

Component: kernel/sparc64

comment:2 Changed 13 years ago by Jakub Jermář

Type: defectenhancement
Note: See TracTickets for help on using tickets.