Follow us on Google+ Follow us on Facebook Follow us on Twitter

Opened 8 years ago

Last modified 7 years ago

#10 new enhancement

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 (2)

comment:1 Changed 8 years ago by svoboda

  • Component set to kernel/sparc64

comment:2 Changed 7 years ago by jermar

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