Re: [RFC 61/60] cosched: Accumulated fixes and improvements

From: Jan H. SchÃnherr
Date: Mon Oct 01 2018 - 05:13:57 EST


On 09/26/2018 11:05 PM, Nishanth Aravamudan wrote:
> On 26.09.2018 [10:25:19 -0700], Nishanth Aravamudan wrote:
>>
>> I found another issue today, while attempting to test (with 61/60
>> applied) separate coscheduling cgroups for vcpus and emulator threads
>> [the default configuration with libvirt].
>
> <snip>
>
> [ 764.132461] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
> [ 764.141001] PGD 0 P4D 0
> [ 764.144020] Oops: 0000 [#1] SMP PTI
> [ 764.147988] CPU: 70 PID: 0 Comm: swapper/70 Tainted: G OE 4.19-0rc3.ag-generic #4+1536951040do~8680a1b
> [ 764.159086] Hardware name: Dell Inc. PowerEdge R640/0W23H8, BIOS 1.2.11 10/19/2017
> [ 764.166968] RIP: 0010:set_next_entity+0x15/0x1d0

I got it reproduced.

I will send a fix, when I have one.

Regards
Jan