[Devel] [cr][git]linux-cr branch, ckpt-v17-rc1, updated. v2.6.27-rc5-45621-ge428694

orenl at cs.columbia.edu orenl at cs.columbia.edu
Mon Jul 13 15:59:11 PDT 2009


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "linux-cr".

The branch, ckpt-v17-rc1 has been updated
       via  e428694a8f6857a10afbd99660bc695c353aa74b (commit)
       via  135961c0bbe19ba9bf21c40d0b837630df2d2639 (commit)
      from  4cbbabe2c7c1ba884c685654cf52f9f1a79320a0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e428694a8f6857a10afbd99660bc695c353aa74b
Author: Matt Helsley <matthltc at us.ibm.com>
Date:   Mon Jul 13 05:36:15 2009 -0700

    Save and restore the [compat_]robust_list member of the task struct.
    
    These lists record which futexes the task holds. To keep the overhead of
    robust futexes low the list is kept in userspace. When the task exits the
    kernel carefully walks these lists to recover held futexes that
    other tasks may be attempting to acquire with FUTEX_WAIT.
    
    Because they point to userspace memory that is saved/restored by
    checkpoint/restart saving the list pointers themselves is safe.
    
    While saving the pointers is safe during checkpoint, restart is tricky
    because the robust futex ABI contains provisions for changes based on
    checking the size of the list head. So we need to save the length of
    the list head too in order to make sure that the kernel used during
    restart is capable of handling that ABI. Since there is only one ABI
    supported at the moment taking the list head's size is simple. Should
    the ABI change we will need to use the same size as specified during
    sys_set_robust_list() and hence some new means of determining the length
    of this userspace structure in sys_checkpoint would be required.
    
    Rather than rewrite the logic that checks and handles the ABI we reuse
    sys_set_robust_list() by factoring out the body of the function and
    calling it during restart.
    
    Signed-off-by: Matt Helsley <matthltc at us.ibm.com>

commit 135961c0bbe19ba9bf21c40d0b837630df2d2639
Author: Oren Laadan <orenl at cs.columbia.edu>
Date:   Mon Jul 13 18:56:50 2009 -0400

    c/r: export include/linux/checkpoint.h
    
    Signed-off-by: Oren Laadan <orenl at cs.columbia.edu>

-----------------------------------------------------------------------

Summary of changes:
 checkpoint/process.c           |    2 +
 include/linux/Kbuild           |    1 +
 include/linux/checkpoint_hdr.h |    5 ++++
 include/linux/compat.h         |    3 +-
 include/linux/futex.h          |   46 ++++++++++++++++++++++++++++++++++++++++
 kernel/futex.c                 |   19 ++++++++++------
 kernel/futex_compat.c          |   13 ++++++++--
 7 files changed, 78 insertions(+), 11 deletions(-)


hooks/post-receive
--
linux-cr
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list