Ticket #10 (new enhancement)

Opened 3 years ago

Last modified 2 years ago

Register window thrashing

Reported by: jermar 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

comment:1 Changed 3 years ago by svoboda

  • Component set to kernel/sparc64

comment:2 Changed 2 years ago by jermar

  • Type changed from defect to enhancement
Note: See TracTickets for help on using tickets.