Re: [PATCH v3] sched: cpuset: Don't rebuild root domains on suspend-resume

Qais Yousef
2023-03-01T17:04:06Z

On 03/01/23 15:26, Juri Lelli wrote:
> On 01/03/23 12:28, Qais Yousef wrote:
> > On 03/01/23 08:31, Juri Lelli wrote:
>
> ...
>
> > > Not ignoring you guys here, but it turns out I'm quite bogged down with
> > > other stuff at the moment. :/ So, apologies and I'll try to get to this
> > > asap. Thanks a lot for all your efforts and time reviewing so far!
> >
> > Np, I can feel you :-)
>
> Eh. :/

I hope I did not offend. That was meant as no pressure, I understand.

>
> BTW, do you have a repro script of some sort handy I might play with?

Sorry no. You'll just need to suspend to ram. I had a simple patch to measure
the time around the call and trace_printk'ed the result.

I was working on a android phone which just suspends to ram if you turn the
screen off and disconnect the usb.

I think you can use rtcwake in normal desktop environment. Something like

sudo rtcwake -u -s 5 -m mem

Thanks!

--
Qais Yousef