Re: [mm 4.15-rc8] Random oopses under memory pressure.

From: Luc Van Oostenryck
Date: Sat Jan 20 2018 - 04:38:37 EST


On Sat, Jan 20, 2018 at 05:24:32AM +0000, Al Viro wrote:
> On Sat, Jan 20, 2018 at 02:02:37AM +0000, Al Viro wrote:
>
> > Note that those sizes are rather sensitive to lockdep, spinlock debugging, etc.
>
> That they certainly are: on one of the testing .config I'm using it gave this:
> 1104 sizeof struct page = 56

Yes, I get this already with defconfig.
It's a problem with sparse which ignore the alignment attribute
(in fact all 'trailing' attributes in type declarations).

I'm looking to fix it.

-- Luc Van Oostenryck