lkml.org 
[lkml]   [2007]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: PROBLEM: "BUG:" when resuming from suspend-to-ram
From
Date
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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-03-01 15:59    [W:0.507 / U:1.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site