Re: [RFC PATCH v1 2/3] PM / Runtime: force memory allocation with no I/O during runtime_resume callbcack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 17, 2012 at 1:43 PM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
>
> This appears to be a bit too heavy handed.  First of all, it seems to affect
> all memory allocations going in parallel with the resume callback.  Second,

No, the flag is per task, only memory allocation inside resume callback
is effected.

> it affects all resume callbacks, not only those where the problem really

We can do it only on block device, block device's ancestor and network
devices(iSCSI case), but that may introduce policy into PM core or add
one flag of memalloc_noio_resume into 'dev_pm_info', could you agree
on it?


Thanks,
--
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux