- Feb 10, 2013
-
-
Avi Kivity authored
Time might stop under some hosts without this fix.
-
Avi Kivity authored
-
- Feb 09, 2013
- Feb 07, 2013
-
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Dor Laor authored
-
Dor Laor authored
-
Dor Laor authored
-
Dor Laor authored
-
Dor Laor authored
* 'master' of github.com:cloudius-systems/osv: (41 commits) sched: default thread attributes sched: add new thread::attr object enable locking in libc apic clockevents: per-cpu setup sched: use cpu::init_on_cpu() libc/manifest update add a real wcsftime_l implementation add real implementation of locale-aware strto{f,d,ld} routines add floating support to *printf and *scanf enable stro* add the license for FreeBSDs realpath remove the unused old environ-related variables sched: per-cpu timer list remove an accidentally added file remove getenv debugging import a real realpath from FreeBSD add lstat() mutex: zero the mutex structure in mutex_init add a full getenv/putenv & friends implementation from musl sched: maintain a list of active thread timers ...
-
Avi Kivity authored
-
Avi Kivity authored
This makes it easier to create a thread with no special properties.
-
Dor Laor authored
Run 2 threads, one allocated mem, the other deletes the allocation.
-
Avi Kivity authored
This makes it easy to configure a thread with various parameters. The first is the existing stack_info parameter.
-
Dor Laor authored
pushing it into a dummy bio structure. In addition, expand the test some more
-
Dor Laor authored
-
Christoph Hellwig authored
-
Avi Kivity authored
The apic needs to be programmed on each cpu that is brought up.
-
Avi Kivity authored
We used cpu_arch::init_on_cpu() instead of the arch-indepdendent version.
-
Christoph Hellwig authored
-
Avi Kivity authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
Of course we don't actually support locales yet, so these are trivial wrappers.
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Avi Kivity authored
Maintain the list of active timers per-cpu, instead of globally. This removes the need for locking (other than disabling preemption). The clock_event interface is awkward in that the callback is global, not per-cpu. This requires us to have a global dispatch object that then uses cpu::current() to pick up the current cpu and dispatch the event. We should probably make clock_event explicitly per-cpu in the future.
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
This ones handles the current working directory in relative pathnames, and supports the POSIX.1-2008 case where the resolved_path argument is passed a NULL and then allocated by realpath internally.
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Avi Kivity authored
Since timers are per-cpu constructs, we need to migrate them when a thread migrate. To do that, we need to keep a list of a thread's active timers.
-
Avi Kivity authored
If a timer is expired already, don't remove it from lists.
-
Avi Kivity authored
No functional changes - prepare for making timer lists cpu local.
-
Avi Kivity authored
Each cpu has its own event timer; we rely on this. Document the requirement.
-
Avi Kivity authored
-