Re: [PATCH v11 4/4] usb: host: enable USB offload during system sleep

From: Guan-Yu Lin
Date: Wed Apr 16 2025 - 06:06:20 EST


On Fri, Apr 11, 2025 at 10:02 PM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Tue, Apr 08, 2025 at 03:57:24AM +0000, Guan-Yu Lin wrote:
> > @@ -736,6 +737,7 @@ struct usb_device {
> > unsigned use_generic_driver:1;
> >
> > refcount_t offload_usage;
> > + unsigned offload_at_suspend:1;
>
> Please take a second and think about how the memory is now layed out
> here with your new addition. The tool 'pahole' is your friend...
>
> thanks,
>
> greg k-h

Thanks for providing this helpful information. I'll reconstruct the
struct to minimize the effect of new additions.

Regards,
Guan-Yu