[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0gZ9oAByawssaARFN1_crTuMZ-CnU5Fy9D1sWv+Moo-sg@mail.gmail.com>
Date: Tue, 3 Sep 2024 15:01:52 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: David Wang <00107082@....com>
Cc: rafael@...nel.org, len.brown@...el.com, pavel@....cz,
gregkh@...uxfoundation.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] PM: add: move warn message out of mutex lock.
On Mon, Sep 2, 2024 at 7:50 AM David Wang <00107082@....com> wrote:
>
> dpm_list_mtx does not protect any data used by
> dev_warn for checking parent's power, move
> dev_warn out of mutex lock block make the
> lock more efficient, especially when the warn
> is triggered.
It does protect the power.is_prepared flag of the parent.
Powered by blists - more mailing lists