Re: Re: Re: [PATCH]sparc32: Fix impossibility of swap disabling after intensive swap using

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



30.04.10, 09:57, "Тхай Кирилл" <tkhai@xxxxxxxxx>:

> 
>  
>  29.04.10, 16:58, "David Miller" :
>  
>  > 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
> 

that is 0xF0000003 :)
--
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

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux