From: Eric Dumazet <eric.dumazet@gmail.com>
To: Norbert Preining <preining@logic.at>
Cc: linux-kernel@vger.kernel.org,
ACPI Devel Mailing List <linux-acpi@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: regression 2.6.37 -> 2.6.38-rc1: after suspend backlight cannot be adjusted
Date: Fri, 21 Jan 2011 05:16:34 +0100 [thread overview]
Message-ID: <1295583394.2613.47.camel@edumazet-laptop> (raw)
In-Reply-To: <1295583107.2613.45.camel@edumazet-laptop>
Le vendredi 21 janvier 2011 à 05:11 +0100, Eric Dumazet a écrit :
> Le vendredi 21 janvier 2011 à 10:55 +0900, Norbert Preining a écrit :
> > Hi everyone,
> >
> > (please Cc)
> >
> > going to 2.6.38-rc1 I see the following regression: After reboot I
> > can easily adjust the backlight with the keys on my keyboard, but
> > after a suspend-to-ram this does not work anymore.
> >
> > This is a Sony laptop, and backlight is controlled by the video
> > acpi driver AFAIR.
> >
>
> Hi Norbert
>
> Maybe this is the problem Linus had to bisect, you could try his patch :
>
> http://marc.info/?l=linux-netdev&m=129556877919576&w=2
>
> Thanks !
>
Or just pull linux-2.6, since patch is now committed
commit 28e58ee8ce1f0e69c207f747b7b9054b071e328d
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Thu Jan 20 16:21:59 2011 -0800
Fix broken "pipe: use event aware wakeups" optimization
Commit e462c448fdc8 ("pipe: use event aware wakeups") optimized the pipe
event wakeup calls to avoid wakeups if the events do not match the
requested set.
However, the optimization was buggy, in that it didn't actually use the
correct sets for the events: when we make room for more data to be
written, the pipe poll() routine will return both the POLLOUT _and_
POLLWRNORM bits. Similarly for read.
And most critically, when a pipe is released, that will potentially
result in POLLHUP|POLLERR (depending on whether it was the last reader
or writer), not just the regular POLLIN|POLLOUT.
This bug showed itself as a hung gnome-screensaver-dialog process, stuck
forever (or at least until it was poked by a signal or by being traced)
in a poll() system call.
Cc: Davide Libenzi <davidel@xmailserver.org>
Cc: David S. Miller <davem@davemloft.net>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-01-21 4:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-21 1:55 regression 2.6.37 -> 2.6.38-rc1: after suspend backlight cannot be adjusted Norbert Preining
2011-01-21 4:11 ` Eric Dumazet
2011-01-21 4:16 ` Eric Dumazet [this message]
2011-01-21 6:46 ` Norbert Preining
2011-01-21 7:28 ` Zhang Rui
2011-01-21 7:29 ` Zhang Rui
2011-01-21 8:26 ` Norbert Preining
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1295583394.2613.47.camel@edumazet-laptop \
--to=eric.dumazet@gmail.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=preining@logic.at \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox