add spinlock for linux platform
add ignored file list