Re: [PATCH -mm] mm, swap: Fix bad swap file entry warning

2019-05-31 Thread Yuri Norov
(Resend as LKML didn't take outlook settings.) > On Fri, 2019-05-31 at 11:27 -0700, Dexuan-Linux Cui wrote: > > Hi, > > Did you know about the panic reported here: > > https://marc.info/?t=15593077303&r=1&w=2 > > > > "Kernel panic - not syncing: stack-protector: Kernel stack is > > corrupted

Re: [PATCH -mm] mm, swap: Fix bad swap file entry warning

2019-05-31 Thread Huang, Ying
Michal Hocko writes: > On Fri 31-05-19 10:41:02, Huang, Ying wrote: >> From: Huang Ying >> >> Mike reported the following warning messages >> >> get_swap_device: Bad swap file entry 1401 >> >> This is produced by >> >> - total_swapcache_pages() >> - get_swap_device() >> >> W

Re: [PATCH -mm] mm, swap: Fix bad swap file entry warning

2019-05-31 Thread Qian Cai
On Fri, 2019-05-31 at 11:27 -0700, Dexuan-Linux Cui wrote: > Hi, > Did you know about the panic reported here: > https://marc.info/?t=15593077303&r=1&w=2 > > "Kernel panic - not syncing: stack-protector: Kernel stack is > corrupted in: write_irq_affinity.isra" > > This panic is reported on Po

Re: [PATCH -mm] mm, swap: Fix bad swap file entry warning

2019-05-31 Thread Dexuan-Linux Cui
On Fri, May 31, 2019 at 10:00 AM Mike Kravetz wrote: > > On 5/30/19 7:41 PM, Huang, Ying wrote: > > From: Huang Ying > > > > Mike reported the following warning messages > > > > get_swap_device: Bad swap file entry 1401 > > > > This is produced by > > > > - total_swapcache_pages() >

Re: [PATCH -mm] mm, swap: Fix bad swap file entry warning

2019-05-31 Thread Mike Kravetz
On 5/30/19 7:41 PM, Huang, Ying wrote: > From: Huang Ying > > Mike reported the following warning messages > > get_swap_device: Bad swap file entry 1401 > > This is produced by > > - total_swapcache_pages() > - get_swap_device() > > Where get_swap_device() is used to check whe

Re: [PATCH -mm] mm, swap: Fix bad swap file entry warning

2019-05-30 Thread Michal Hocko
On Fri 31-05-19 10:41:02, Huang, Ying wrote: > From: Huang Ying > > Mike reported the following warning messages > > get_swap_device: Bad swap file entry 1401 > > This is produced by > > - total_swapcache_pages() > - get_swap_device() > > Where get_swap_device() is used to che

[PATCH -mm] mm, swap: Fix bad swap file entry warning

2019-05-30 Thread Huang, Ying
From: Huang Ying Mike reported the following warning messages get_swap_device: Bad swap file entry 1401 This is produced by - total_swapcache_pages() - get_swap_device() Where get_swap_device() is used to check whether the swap device is valid and prevent it from being swapoff