オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Diff of /trunk/1.6.x/ccs-patch/README.ccs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1705 by kumaneko, Wed Oct 15 04:18:19 2008 UTC revision 1712 by kumaneko, Mon Oct 20 01:32:40 2008 UTC
# Line 1689  Fix 2008/10/15 Line 1689  Fix 2008/10/15
1689        which returns process information of the specified PID in        which returns process information of the specified PID in
1690        "PID manager=\* execute_handler=\* state[0]=\$ state[1]=\$ state[2]=\$"        "PID manager=\* execute_handler=\* state[0]=\$ state[1]=\$ state[2]=\$"
1691        format.        format.
1692    
1693    Fix 2008/10/20
1694    
1695        @ Use rcu_dereference() when walking the list.
1696    
1697          I was using "dependency ordering" for appending an element to a list
1698          without asking the reader to take a lock. But "dependency ordering"
1699          is not respected by DEC Alpha or by some aggressive value-speculation
1700          compiler optimizations.
1701    
1702          On such environment, use of "dependency ordering" can lead to system
1703          crash because the reader might read uninitialized value of newly
1704          appended element.
1705    
1706          To prevent the reader from reading uninitialized value of newly appended
1707          element, I inserted rcu_dereference() when walking the list.

Legend:
Removed from v.1705  
changed lines
  Added in v.1712

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26