Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1380650

[PATCH mmotm 1/5] huge tmpfs: try to allocate huge pages split into a team fix

Path csiph.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Hugh Dickins <hughd@google.com>
Newsgroups linux.kernel
Subject [PATCH mmotm 1/5] huge tmpfs: try to allocate huge pages split into a team fix
Date Sun, 17 Apr 2016 01:30:02 +0200
Message-ID <roHP4-30O-1@gated-at.bofh.it> (permalink)
X-Original-To Andrew Morton <akpm@linux-foundation.org>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:user-agent:mime-version; bh=iUY1PGb94yUpT7ue8TI6uKB6fe0LIZkD3NCLeXJz3FM=; b=L0Ppl+F7ptsT7qeODEPgbnzKTqEMy4cCLyiSx67CadRRt31i0kYDX2y3ovYqNECpYA FaMza869RyDFoOzW6f6TY+JKNBrJT6QlQ26Txy9P9x5J6F6w/Nc/2TamnSHq+2DTmI+8 KbzXu/OXlUfBWt8sMbwFUd0Z2UOfTGYvgE5uPurY1GY05wYQ8i137AdrPdJX6MkxHrGS dafekDUmtLuUa+3CK3Bem3xK85JTs3TirmTR+twj7udVrg4uJ36oS/gr44V2flolZWjR rQBPLxx+erb5nh32p7kCJ2ayGSR0CMJ0tHOO2gJWgNHwegNEObKFrtxy+42GTihZeEcT OtEA==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:user-agent :mime-version; bh=iUY1PGb94yUpT7ue8TI6uKB6fe0LIZkD3NCLeXJz3FM=; b=B+OSWvmR35VxsmH2lHCOFc1D8JslypdYg7edhkxyVBDDlJWAjVNSjHNAB9hFGl5N3t B8F7NHEerPC9OX29XjgpD19QT0wkiXF3cHmvIQL/Eflih9Lqy2xs1EKj8PNIMbZ8Qr8K eu9EPH39b5r/nvmiWqSD1avGhvRh+1b87D7bztsDIdjLsBrC7bhGV9pKgR/RpRcLUb2u j0SMcJjjYE820XN6ojjP+EBbyM/b6V9bdwUqt9FddiDXF0Ny62roC3aCeQQ9d4rZwQIV 40MnBEJJHC0k0Mf6HifRBDXESBNqAonwBoe+C9Mjw6WEESpMK4yI2PicbdmkZc9BdpBH XxmQ==
X-Gm-Message-State AOPr4FWA1H8jzDgUh6nvdYjnNPNf1siLlGbwxRZYUj0hA+NbRr2lKgHBwqJu/RuoWp9c9VdK
X-Received by 10.98.34.207 with SMTP id p76mr8838672pfj.1.1460849230336; Sat, 16 Apr 2016 16:27:10 -0700 (PDT)
X-X-Sender hugh@eggly.anvils
User-Agent Alpine 2.11 (LSU 23 2013-08-11)
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 23
Organization linux.* mail to news gateway
X-Original-Cc "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>, Andrea Arcangeli <aarcange@redhat.com>, Andres Lagar-Cavilla <andreslc@google.com>, Yang Shi <yang.shi@linaro.org>, Ning Qu <quning@gmail.com>, Stephen Rothwell <sfr@canb.auug.org.au>, linux-kernel@vger.kernel.org, linux-mm@kvack.org
X-Original-Date Sat, 16 Apr 2016 16:27:02 -0700 (PDT)
X-Original-Message-ID <alpine.LSU.2.11.1604161621310.1907@eggly.anvils>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1380650

Show key headers only | View raw


Please replace the
huge-tmpfs-try-to-allocate-huge-pages-split-into-a-team-fix.patch
you added to your tree by this one: nothing wrong with Stephen's,
but in this case I think the source is better off if we simply
remove that BUILD_BUG() instead of adding an IS_ENABLED():
fixes build problem seen on arm when putting together linux-next.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Hugh Dickins <hughd@google.com>
---
 mm/shmem.c |    1 -
 1 file changed, 1 deletion(-)

--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -1744,7 +1744,6 @@ static inline struct page *shmem_hugetea
 
 static inline void shmem_disband_hugeteam(struct page *page)
 {
-	BUILD_BUG();
 }
 
 static inline void shmem_added_to_hugeteam(struct page *page,

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH mmotm 1/5] huge tmpfs: try to allocate huge pages split into  a team fix Hugh Dickins <hughd@google.com> - 2016-04-17 01:30 +0200
  [PATCH mmotm 2/5] huge tmpfs: fix mlocked meminfo track huge unhuge  mlocks fix Hugh Dickins <hughd@google.com> - 2016-04-17 01:40 +0200
    Re: [PATCH mmotm 2/5] huge tmpfs: fix mlocked meminfo track huge  unhuge mlocks fix Stephen Rothwell <sfr@canb.auug.org.au> - 2016-04-21 01:50 +0200
  [PATCH mmotm 4/5] huge tmpfs: avoid premature exposure of new  pagetable revert Hugh Dickins <hughd@google.com> - 2016-04-17 01:40 +0200
    Re: [PATCH mmotm 4/5] huge tmpfs: avoid premature exposure of new  pagetable revert Stephen Rothwell <sfr@canb.auug.org.au> - 2016-04-21 02:00 +0200
  [PATCH mmotm 3/5] huge tmpfs recovery: tweak shmem_getpage_gfp to  fill team fix Hugh Dickins <hughd@google.com> - 2016-04-17 01:40 +0200
    Re: [PATCH mmotm 3/5] huge tmpfs recovery: tweak shmem_getpage_gfp  to fill team fix Stephen Rothwell <sfr@canb.auug.org.au> - 2016-04-21 02:00 +0200
  [PATCH mmotm 5/5] huge tmpfs: add shmem_pmd_fault() Hugh Dickins <hughd@google.com> - 2016-04-17 01:50 +0200
    Re: [PATCH mmotm 5/5] huge tmpfs: add shmem_pmd_fault() "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-04-17 02:50 +0200
      Re: [PATCH mmotm 5/5] huge tmpfs: add shmem_pmd_fault() Hugh Dickins <hughd@google.com> - 2016-04-17 03:30 +0200
    Re: [PATCH mmotm 5/5] huge tmpfs: add shmem_pmd_fault() Stephen Rothwell <sfr@canb.auug.org.au> - 2016-04-21 02:00 +0200
  Re: [PATCH mmotm 1/5] huge tmpfs: try to allocate huge pages split  into a team fix Stephen Rothwell <sfr@canb.auug.org.au> - 2016-04-21 01:50 +0200

csiph-web