Re: [PATCH 1/4] dynamic_debug: consolidate repetitive struct _ddebugdescriptor definitions

From: Jim Cromie
Date: Mon Sep 12 2011 - 14:16:14 EST


>> No real idea why it's aligned(8).  Jason?
>>
>
> I think when I first implemented it, I noticed that subsystems that did
> similar things, set aligned(8) in include/asm-generic/vmlinux.lds.h. For
> example, FTRACE_EVENTS() sets ALIGN(8)...I know that not a great reason
> thouh :( Don't remember if I tried ALIGN(4), but if it saves space, we
> can look at it...
>

I tried it here on 32bit (on 586 class machine), it blew up.
I imagine it could be made to work, but its not a gimme.

> Also, as I mentioned before, we probably need an extra array of pointers into
> the dynamic debug structures. see: https://lkml.org/lkml/2011/1/26/463.
>

I'll try it again, once this happens.

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