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

From: Matthew Wilcox
Date: Thu Jan 13 2022 - 19:30:48 EST


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 <rdunlap@xxxxxxxxxxxxx>
> Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> 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.