Re: [PATCH] mmc: core: Remove redundant rescan_disable flag

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

 



On 28 April 2016 at 14:44, Adrian Hunter <adrian.hunter@xxxxxxxxx> wrote:
> On 28/04/16 13:55, Ulf Hansson wrote:
>> As cancel_delayed_work_sync() prevents an executing work for re-scheduling
>> itself, the rescan_disable flag is redundant.
>
> Are you sure rescan_disable is not needed for mmc_pm_notify()?

That's a good question!

Because we are using the system_freezable_wq for the detect works, the
works will be frozen when userspace is becomes frozen during system
PM.

New detect works that might get scheduled after that point will not be
scheduled to run until the queue becomes un-frozen.

Let's me re-spin the patch and update the changelog as that is of
course relevant information.

[...]

Kind regards
Uffe
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux