Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Simplify s_mc_snapshot_stack
authorGabriel Corona <gabriel.corona@loria.fr>
Mon, 16 Jun 2014 11:00:15 +0000 (13:00 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Mon, 16 Jun 2014 11:00:15 +0000 (13:00 +0200)
commita2961c433a36e3277d50bd433fbd343e5f9bab74
treede5afa4da86dec582d21d8dd57de471ce4711387
parent27a8e7140628e183c77a13561e88fb32848d892a
[mc] Simplify s_mc_snapshot_stack

Some fields were not used and have been removed:

  * stack_pointer (SP in the snapshot)
  * real_address  (address of the stack)

The first one does not make sense with page-fragmented snapshot.

Simplify the computation of snapshot->stack_sizes[cursor].  The old
computation did not make sense with page fragmented snapshots.
src/mc/mc_checkpoint.c
src/mc/mc_private.h