<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Wei,<div><br><div><div>On Jul 12, 2012, at 11:23 AM, Wei Cao wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Not really,  bind_port_to_scheduler is based on pollset_per_scheduler,<br>you can use bind_port_to_scheduler only,<br><br>git fetch <a href="git://github.com/weicao/otp.git">git://github.com/weicao/otp.git</a> bind_port_to_scheduler<br></div></blockquote><div><br></div>can't compile the VM wihth your new patch:</div><div><br></div><div><div>git clone <a href="git://github.com/weicao/otp.git">git://github.com/weicao/otp.git</a></div><div>cd otp</div><div>git fetch <a href="git://github.com/weicao/otp.git">git://github.com/weicao/otp.git</a> bind_port_to_scheduler</div><div>./otp_build autoconf</div><div>CFLAGS="-DERTS_POLLSET_PER_SCHEDULER -g -O3 -fomit-frame-pointer" ./configure --prefix=/SOMEWHERE/usr</div><div>make && make install</div><div><div>make clean (WITH OR WITHOUT make clean, it doesn't compile)</div></div><div>make</div></div><div>[...]</div><div><div>gcc  -m32 -DERTS_POLLSET_PER_SCHEDULER -g -O3 -fomit-frame-pointer -I/opt/otp/erts/i686-pc-linux-gnu  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-tree-copyrename  -D_GNU_SOURCE -DERTS_SMP -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -DERTS_ENABLE_LOCK_COUNT  -Ii686-pc-linux-gnu/opt/smp -Ibeam -Isys/unix -Isys/common -Ii686-pc-linux-gnu -Izlib  -Ipcre -Ihipe -I../include -I../include/i686-pc-linux-gnu -I../include/internal -I../include/internal/i686-pc-linux-gnu -c beam/erl_process_lock.c -o obj/i686-pc-linux-gnu/opt/smp/erl_process_lock.o</div><div>beam/erl_process_lock.c: In function 'erts_lcnt_enable_proc_lock_count':</div><div>beam/erl_process_lock.c:1275:15: error: 'process_tab' undeclared (first use in this function)</div><div>beam/erl_process_lock.c:1275:15: note: each undeclared identifier is reported only once for each function it appears in</div><div>make[3]: *** [obj/i686-pc-linux-gnu/opt/smp/erl_process_lock.o] Error 1</div><div>make[3]: Leaving directory `/opt/otp/erts/emulator'</div><div>make[2]: *** [opt] Error 2</div><div>make[2]: Leaving directory `/opt/otp/erts/emulator'</div><div>make[1]: *** [smp] Error 2</div><div>make[1]: Leaving directory `/opt/otp/erts'</div><div><br></div><div><div>Regards,</div><div>Zabrane</div><div><br></div></div><blockquote type="cite"><div><br><br><br><br>2012/7/12 Zabrane Mickael <<a href="mailto:zabrane3@gmail.com">zabrane3@gmail.com</a>>:<br><blockquote type="cite"><br></blockquote><blockquote type="cite">On Jul 12, 2012, at 11:12 AM, Wei Cao wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">The fix is git-pushed to patch branches, retrieved by<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">git fetch <a href="git://github.com/weicao/otp.git">git://github.com/weicao/otp.git</a> bind_port_to_scheduler<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">git fetch <a href="git://github.com/weicao/otp.git">git://github.com/weicao/otp.git</a> pollset_per_scheduler<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I used git push --force, so it's better to fetch it whole again.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">So I need both patches? Right?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Regards,<br></blockquote><blockquote type="cite">Zabrane<br></blockquote><blockquote type="cite"><br></blockquote><br><br><br>-- <br><br>Best,<br><br>Wei Cao<br></div></blockquote></div><br><div apple-content-edited="true">
<div><br></div>
</div>
<br></div></body></html>