mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hugh Dickins <hugh@veritas.com>
To: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Cc: Andrew Morton <akpm@osdl.org>,
	Dave Jones <davej@codemonkey.org.uk>,
	Nick Piggin <nickpiggin@yahoo.com.au>,
	linux-kernel@vger.kernel.org
Subject: Re: mm snapshot broken-out-2006-08-02-00-27.tar.gz uploaded
Date: Wed, 2 Aug 2006 19:50:31 +0100 (BST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0608021942500.13042@blonde.wat.veritas.com> (raw)
In-Reply-To: <6bffcb0e0608021115s65f81224td8d852b931a9b787@mail.gmail.com>

On Wed, 2 Aug 2006, Michal Piotrowski wrote:
> On 02/08/06, akpm@osdl.org <akpm@osdl.org> wrote:
> > The mm snapshot broken-out-2006-08-02-00-27.tar.gz has been uploaded to
> >
> >    ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2006-08-02-00-27.tar.gz
> >
> > It contains the following patches against 2.6.18-rc3:
....
> 
> Here is something new, previous mm snapshot was fine
> 
> Aug  2 19:56:08 ltg01-fedora kernel: ------------[ cut here ]------------
> Aug  2 19:56:08 ltg01-fedora kernel: kernel BUG at
> /usr/src/linux-work4/mm/shmem.c:1228!
> 1228            BUG_ON(!(vma->vm_flags & VM_CAN_INVALIDATE));
> 
> I will revert
> fix-the-race-between-invalidate_inode_pages-and-do_no_page.patch
> fix-the-race-between-invalidate_inode_pages-and-do_no_page-tidy.patch
> and see what will happen.

Rather than reverting those, please add something like (I've not seen
this particular tree) the fixup below - it's easily missed that
ipc/shm.c has its own reference to shmem_nopage.  (Last I heard,
the flag was called VM_CAN_INVLD, but it looks like I'm not the
only one averse to unpronounceables.)

Hugh

--- 2.6.18-rc2-mm1/ipc/shm.c	2006-07-27 16:19:18.000000000 +0100
+++ linux/ipc/shm.c	2006-08-02 19:29:46.000000000 +0100
@@ -264,6 +264,7 @@ static struct vm_operations_struct shm_v
 	.set_policy = shmem_set_policy,
 	.get_policy = shmem_get_policy,
 #endif
+	.vm_flags = VM_CAN_INVALIDATE,
 };
 
 static int newseg (struct ipc_namespace *ns, key_t key, int shmflg, size_t size)

  reply	other threads:[~2006-08-02 18:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200608020728.k727SegM012704@shell0.pdx.osdl.net>
2006-08-02 18:15 ` Michal Piotrowski
2006-08-02 18:50   ` Hugh Dickins [this message]
2006-08-02 21:53     ` Michal Piotrowski
2006-08-03  0:00 ` Michal Piotrowski
2006-08-03  1:36   ` Andrew Morton
2006-08-03 12:19     ` Michal Piotrowski

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=Pine.LNX.4.64.0608021942500.13042@blonde.wat.veritas.com \
    --to=hugh@veritas.com \
    --cc=akpm@osdl.org \
    --cc=davej@codemonkey.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.k.k.piotrowski@gmail.com \
    --cc=nickpiggin@yahoo.com.au \
    /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

all inboxes | Powered by JetHome®