Subject: Re: linux-next: Tree for Jan 13 (UBSAN: invalid-load in ../mm/swap.c:996:11)

From: Matthew Wilcox <[email-masked]>
Date: Fri, 14 Jan 2022 00:30:37 +0000

On Thu, Jan 13, 2022 at 01:26:48PM -0800, Randy Dunlap wrote:
> 
> 
> On 1/13/22 12:47, Matthew Wilcox wrote:
> > On Thu, Jan 13, 2022 at 12:12:52PM -0800, Randy Dunlap wrote:
> >> [    1.561983] UBSAN: invalid-load in ../mm/swap.c:996:11
> >> [    1.561986] load of value 221 is not a valid value for type '_Bool'
> > 
> > Ooh.  This one's mine.  Randy, does it repeat easily?  This should
> > fix it:
> 
> Yes, 100% of the time (for N = 3).
> 
> Reported-by: Randy Dunlap <[email-masked]>
> Tested-by: Randy Dunlap <[email-masked]>
> 
> Fixed 100% of the time (for N = 3).

Thanks.  It's now at
https://git.infradead.org/users/willy/pagecache.git/shortlog/refs/heads/for-next
so it'll be part of the next linux-next.