LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Kristian Grønfeldt Sørensen" <kriller@vkr.dk>
To: Dmitry Torokhov <dtor@insightbb.com>
Cc: linux-input@atrey.karlin.mff.cuni.cz,
"Rafael J. Wysocki" <rjw@sisk.pl>,
Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: PROBLEM: "BUG:" when resuming from suspend-to-ram
Date: Thu, 01 Mar 2007 15:55:52 +0100 [thread overview]
Message-ID: <1172760952.21416.110.camel@miraculinux> (raw)
In-Reply-To: <200703010036.28166.dtor@insightbb.com>
On Thu, 2007-03-01 at 00:36 -0500, Dmitry Torokhov wrote:
> On Wednesday 28 February 2007 07:45, Rafael J. Wysocki wrote:
> >
> > > This gives:
> > >
> > > (gdb) l *evdev_disconnect+0xb1
> > > 0xa81 is in evdev_disconnect (include/asm/processor.h:716).
> > > 711 However we don't do prefetches for pre XP Athlons currently
> > > 712 That should be fixed. */
> > > 713 #define ARCH_HAS_PREFETCH
> > > 714 static inline void prefetch(const void *x)
> > > 715 {
> > > 716 alternative_input(ASM_NOP4,
> > > 717 "prefetchnta (%1)",
> > > 718 X86_FEATURE_XMM,
> > > 719 "r" (x));
> > > 720 }
> >
> > Hm, interesting. Looks like a pointer points to nowhere in
> > input_unregister_device(), but I don't know which one. This may be
> > an evdev problem ...
> >
>
> Please try the patch below.
Hmmm. Is the diff against 2.6.20? All hunks except one fails when i try
it. If I pass "-F 3" to patch, then one more hunk succeeds. Am I doing
something wrong?
/Kristian
> --
> Dmitry
>
> Input: use krefs for refcounting in input handlers
>
> This should fix problems whith accessing memory already freed by
> another thread.
next prev parent reply other threads:[~2007-03-01 14:56 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-27 18:45 Kristian Grønfeldt Sørensen
2007-02-27 22:04 ` Rafael J. Wysocki
2007-02-27 22:23 ` Kristian Grønfeldt Sørensen
2007-02-27 22:34 ` Rafael J. Wysocki
2007-02-27 23:12 ` Kristian Grønfeldt Sørensen
2007-02-28 0:05 ` Rafael J. Wysocki
2007-02-28 0:33 ` Kristian Grønfeldt Sørensen
2007-02-27 22:30 ` Rafael J. Wysocki
2007-02-28 0:27 ` Kristian Grønfeldt Sørensen
2007-02-28 12:45 ` Rafael J. Wysocki
2007-03-01 5:36 ` Dmitry Torokhov
2007-03-01 14:55 ` Kristian Grønfeldt Sørensen [this message]
2007-03-01 15:01 ` Dmitry Torokhov
2007-03-01 16:23 ` Kristian Grønfeldt Sørensen
2007-03-01 20:04 ` Kristian Grønfeldt Sørensen
2007-03-01 20:25 ` Dmitry Torokhov
2007-03-01 20:34 ` Kristian Grønfeldt Sørensen
2007-03-05 14:44 ` Dmitry Torokhov
2007-03-05 18:32 ` Rafael J. Wysocki
2007-03-05 20:51 ` Kristian Grønfeldt Sørensen
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=1172760952.21416.110.camel@miraculinux \
--to=kriller@vkr.dk \
--cc=dtor@insightbb.com \
--cc=linux-input@atrey.karlin.mff.cuni.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
--subject='Re: PROBLEM: "BUG:" when resuming from suspend-to-ram' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).