[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180302090546.GB30267@amd>
Date: Fri, 2 Mar 2018 10:05:46 +0100
From: Pavel Machek <pavel@....cz>
To: Ganesh Mahendran <opensource.ganesh@...il.com>
Cc: rjw@...ysocki.net, len.brown@...el.com, gregkh@...uxfoundation.org,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] PM / wakeup: use seq_open() to show wakeup stats
On Fri 2018-03-02 13:01:00, Ganesh Mahendran wrote:
> single_open() interface requires that the whole output must
> fit into a single buffer. This will lead to timeout when
> system memory is not in a good situation.
>
> This patch use seq_open() to show wakeup stats. This method
> need only one page, so timeout will not be observed.
Can the rcu_read_unlock be delayed arbitrarily by userland code?
Is that ok with RCU?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists