Re: [linux-next:master 12891/13017] mm/slub.c:2396:1: warning: '___slab_alloc' uses dynamic stack allocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 13 Nov 2015, Andreas Krebbel1 wrote:

> > The slub uses of struct page only require an alignment of the page
> struct
> > on the stack to a word. So its fine.
>
> Our compare and swap double hardware instruction unfortunately requires 16
> byte alignment. That's probably the reason why this alignment has been
> picked. So I don't think that we can easily get rid of it.

The cmpxchg double is not run on the page struct on the stack. Its just
used because I wanted to duplicate the counter layout.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]