29.04.10, 16:58, "David Miller" <davem@xxxxxxxxxxxxx>: > From: Тхай Кирилл > Date: Fri, 30 Apr 2010 03:28:35 +0400 > > > The problem is that some "big" swap entries corresponds to "none" ptes and > > they can't be unused in the function zap_pte_range when program is ending. > > The function free_swap_and_cache isn't calls for that swap entries. And > > swapoff syscall spin in infinity loop. > > I hope my patch can be useful. Kernel version 2.6.33.3. > > I think we'll need to rearrange the bit usage to fix this instead of turning > this off entirely. Thank you for your reply. I can mistake, but it seems to me, that pte_none is more wide check, than belonging pte to mmu device. In other case none_mask must be something like 0xF0000004, because hardware ignores ptes with zeroed lower two bits. Execuse me if I expend your time. Kirill -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html