Is it kernel bug? The code works normally on ia64 machine,howerver, on EM64T,it fails tot work. The function call of shmat will change /proc/meminfo;and the shmdt can't restore it to original content. How to restore it to original stauts?Thanks.