<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: ????; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Hi,</div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"> in kernel 2.6.39, in /include/linux/compiler.h, I found the followed code:</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"><br></span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"> </span><span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 1.5;"># define __percpu</span><span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 1.5; white-space: pre;">        </span><span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 1.5;">__attribute__((noderef, address_space(3)))</span></div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"> </span><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">#ifdef CONFIG_SPARSE_RCU_POINTER<br></span><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"> </span><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"># define __rcu<span style="white-space: pre;">        </span><span style="white-space: pre;">        </span>__attribute__((noderef, address_space(4)))<br></span><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"> </span><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">#else<br></span><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"> </span><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"># define __rcu</span>
<div><br></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"> address_space(num), if num is 0 ,it means kernel space,</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"> 1 , user space; 2, io space,</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"> so 3 and 4 means what?</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"> </span><span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 1.5;"> I found nothing about this by google.</span></div><div><span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 1.5;"><br></span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">Thanks,</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">feng</span></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>feng247@yeah.net</div></div></span></div>
</body></html>