1 Jun 2009 18:44
Re: [PATCH] [batman] Add padding around allocation debugger structures
On Friday 29 May 2009 16:00:40 Nathan Wharton wrote:
> > <at> Nathan: Could you let me know if these patches work for you ? If so I'll
> > commit them.
> >
> > Regards,
> > Marek
>
> I set /proc/cpu/alignment to 4 (raise bus error) and I get a bus error:
>
> Program received signal SIGBUS, Bus error.
> list_add_tail (new=0x29368, head=0x28819) at list-batman.c:68
> 68 __list_add( new, head->prev, (struct list_head *)head );
> (gdb) l
> 63 * Insert a new entry before the specified head.
> 64 * This is useful for implementing queues.
> 65 */
> 66 void list_add_tail( struct list_head *new, struct
> list_head_first *head ) {
> 67
> 68 __list_add( new, head->prev, (struct list_head *)head );
> 69
> 70 head->prev = new;
> 71
> 72 }
Have you added the patches per hand? At this moment no patch I've made
available in trunk. As you have run it with gdb, can you please append a full
backtrace?
Best regards,
Sven
(Continue reading)
RSS Feed