linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Lameter <cl@linux.com>
To: Andreas Krebbel1 <Andreas.Krebbel@de.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	kbuild test robot <fengguang.wu@intel.com>,
	heicars2@linux.vnet.ibm.com, kbuild-all@01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	mschwid2@linux.vnet.ibm.com
Subject: Re: [linux-next:master 12891/13017] mm/slub.c:2396:1: warning: '___slab_alloc' uses dynamic stack allocation
Date: Fri, 13 Nov 2015 11:05:34 -0600 (CST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1511131105030.16068@east.gentwo.org> (raw)
In-Reply-To: <201511131532.tADFWgYs000305@d06av09.portsmouth.uk.ibm.com>


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@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  parent reply	other threads:[~2015-11-13 17:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-11  6:34 kbuild test robot
2015-11-11 20:41 ` Andrew Morton
2015-11-13 11:52   ` Martin Schwidefsky
2015-11-13 15:13     ` Andreas Krebbel1
     [not found]     ` <201511131513.tADFDwJN030997@d06av03.portsmouth.uk.ibm.com>
2015-11-13 15:22       ` Christoph Lameter
2015-11-13 15:32         ` Andreas Krebbel1
     [not found]         ` <201511131532.tADFWgYs000305@d06av09.portsmouth.uk.ibm.com>
2015-11-13 17:05           ` Christoph Lameter [this message]
     [not found]     ` <201511131414.tADEE1co028795@d06av10.portsmouth.uk.ibm.com>
2015-11-16  8:47       ` Martin Schwidefsky

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=alpine.DEB.2.20.1511131105030.16068@east.gentwo.org \
    --to=cl@linux.com \
    --cc=Andreas.Krebbel@de.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=fengguang.wu@intel.com \
    --cc=heicars2@linux.vnet.ibm.com \
    --cc=kbuild-all@01.org \
    --cc=linux-mm@kvack.org \
    --cc=mschwid2@linux.vnet.ibm.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox