Re: linux-next: panic on 20220307 tree

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

 



On 10.03.22 17:29, Kees Cook wrote:
> On Tue, Mar 08, 2022 at 10:44:57AM +0800, Murphy Zhou wrote:
>> Hi,
>>
>> Hit this shortly after build the next tree and reboot.
>>
>> [   72.985994] ------------[ cut here ]------------
>> [   72.986023] ------------[ cut here ]------------
>> [   73.009468] kernel BUG at include/linux/swapops.h:258!
>> [   73.033065] kernel BUG at include/linux/swapops.h:258!
> 
> This is in here:
> 
> static inline struct page *pfn_swap_entry_to_page(swp_entry_t entry)
> {
>         struct page *p = pfn_to_page(swp_offset(entry));
> 
>         /*
>          * Any use of migration entries may only occur while the
>          * corresponding page is locked
>          */
>         BUG_ON(is_migration_entry(entry) && !PageLocked(p));
> 
>         return p;
> }
> 
> Hugh, David, Andrew, might any of the recent mm/memory.c work caused
> problems in here? (Or is this already fixed?)

Maybe related to:

https://lore.kernel.org/all/8f419d19-c83d-bbcd-8936-2d64ced7464c@xxxxxxxxxx/T/#u

which should be fixed now.

-- 
Thanks,

David / dhildenb




[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux