Subversion リポジトリの参照
Diff of /trunk/1.7.x/ccs-patch/README.ccs
Parent Directory
| Revision Log
| Patch
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.1711 |
|
changed lines |
|
Added in v.1712 |
|
|
|