Permalink
Switch branches/tags
Nothing to show
Commits on Feb 15, 2012
  1. advance the write pointer in write:count:

    Michael Ash Michael Ash
    Michael Ash authored and Michael Ash committed Feb 15, 2012
Commits on Feb 14, 2012
Commits on Feb 3, 2012
  1. free the correct amount of memory in the event that vm_remap fails fo…

    mikeash committed Feb 3, 2012
    …r a reason other than the target area being occupied
Commits on Feb 2, 2012
  1. use trunc_page and round_page macros from mach_init.h to simplify pag…

    mikeash committed Feb 2, 2012
    …e rounding calculations
  2. vm_remap returns KERN_NO_SPACE when the target area is occupied, not …

    mikeash committed Feb 2, 2012
    …KERN_PROTECTION_FAILURE, change the error check accordingly
  3. simplify get_page_size

    mikeash committed Feb 2, 2012
Commits on Jan 31, 2012
  1. fix leaks in threaded test

    mikeash committed Jan 31, 2012
  2. add ARC to compile flags

    mikeash committed Jan 31, 2012
Commits on Jan 30, 2012
  1. use three mirrored segments to make it safe to use a write pointer ne…

    Michael Ash Michael Ash
    Michael Ash authored and Michael Ash committed Jan 30, 2012
    …ar the end of the second segment in the interval between decrementing the read pointer and decrementing the write pointer
  2. change AllocatePair to more general AllocateMirrored, allowing any nu…

    Michael Ash Michael Ash
    Michael Ash authored and Michael Ash committed Jan 30, 2012
    …mber of contiguous mirrored segments
  3. switch to atomic adds/subtracts to manipulate _writePointer, now thre…

    Michael Ash Michael Ash
    Michael Ash authored and Michael Ash committed Jan 30, 2012
    …ad safe for one reader and one writer
  4. add ability to lock allocation for multithreaded use, modify thread t…

    Michael Ash Michael Ash
    Michael Ash authored and Michael Ash committed Jan 30, 2012
    …est to optionally use a lock
Commits on Jan 26, 2012
  1. add a few comments to MAMirroredQueue to visually separate things

    Michael Ash Michael Ash
    Michael Ash authored and Michael Ash committed Jan 26, 2012
  2. add thread safety test, does not pass yet

    Michael Ash Michael Ash
    Michael Ash authored and Michael Ash committed Jan 26, 2012
Commits on Jan 25, 2012
  1. add *.dSYM to .gitignore

    mikeash committed Jan 25, 2012
  2. implement MAMirroredQueue

    mikeash committed Jan 25, 2012
  3. fix free_pair to free the whole buffer, not just the first half, and …

    mikeash committed Jan 25, 2012
    …make test_allocate_pair actually call it
  4. initial commit

    Michael Ash Michael Ash
    Michael Ash authored and Michael Ash committed Jan 25, 2012