On 12/11/09 7:23 PM, Maxim Kuvyrkov wrote: > On 12/11/09 5:01 PM, Geert Uytterhoeven wrote: >> On Mon, Dec 7, 2009 at 09:38, Maxim Kuvyrkov >> wrote: ... >> BTW, other architectures seem to call these __NR_[gs]et_thread_area >> instead of __NR_{read,write}_tp? >> Shouldn't we follow for consistency? > > Yes, we may. As long as the syscall numbers stay the same. I'll send the > updated patch once the memory handling issue is resolved. Here is the updated patch. I renamed {read,write}_tp syscalls to [gs]et_thread_area. Regarding the memory access issue in cmpxchg syscall, I looked through the mm/ files and it seems that checking for !pte_write() is the right way to fix the problem; so the patch fixes that too. As I understand, this patch fixes all outstanding issues and is ready for merge. Regards, -- Maxim Kuvyrkov CodeSourcery maxim@codesourcery.com (650) 331-3385 x724