From: Andrea Arcangeli <andrea@suse.de>
To: "Juan J. Quintela" <quintela@fi.udc.es>
Cc: linux-mm@kvack.org, Linus Torvalds <torvalds@transmeta.com>,
Kanoj Sarcar <kanoj@google.engr.sgi.com>
Subject: Re: Oops in __free_pages_ok (pre7-1) (Long)
Date: Wed, 3 May 2000 00:08:11 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.21.0005030004330.1677-100000@alpha.random> (raw)
In-Reply-To: <yttg0s13gjx.fsf@vexeta.dc.fi.udc.es>
On 2 May 2000, Juan J. Quintela wrote:
>swap_entry bit, but not agreement in which is the correct one.
My latest one is the correct one but I would also use the atomic operation
in shrink_mmap even if we hold the page lock to be fully safe. I have an
assert that BUG if a page is freed with such bit set and it never triggers
since I noticed the few problematic places thanks to Ben.
>diff -u -urN --exclude=CVS --exclude=*~ --exclude=.#* pre7-1plus/mm/memory.c lin
>ux/mm/memory.c
>--- pre7-1plus/mm/memory.c Tue Apr 25 00:46:18 2000
>+++ linux/mm/memory.c Tue May 2 00:36:13 2000
>@@ -1053,7 +1053,7 @@
>
> pte = mk_pte(page, vma->vm_page_prot);
>
>- SetPageSwapEntry(page);
>+ /* SetPageSwapEntry(page); */
>
> /*
> * Freeze the "shared"ness of the page, ie page_count + swap_count.
Are you sure it solves the problem? Could you try also the other patch I
sent you in the email of 1 minute ago? that should be even more effective.
I'll let you know what happens here...
Andrea
--
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.eu.org/Linux-MM/
next prev parent reply other threads:[~2000-05-02 22:08 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-02 1:08 Juan J. Quintela
2000-05-02 20:43 ` Linus Torvalds
2000-05-02 21:31 ` Juan J. Quintela
2000-05-02 21:40 ` Linus Torvalds
2000-05-02 22:06 ` Juan J. Quintela
2000-05-02 22:26 ` Andrea Arcangeli
2000-05-03 0:38 ` Andrea Arcangeli
2000-05-03 0:45 ` Linus Torvalds
2000-05-03 1:28 ` Andrea Arcangeli
2000-05-03 10:37 ` Rik van Riel
2000-05-02 22:02 ` Andrea Arcangeli
2000-05-02 22:13 ` Juan J. Quintela
2000-05-03 0:43 ` Andrea Arcangeli
2000-05-02 22:54 ` Andrea Arcangeli
2000-05-02 22:08 ` Andrea Arcangeli [this message]
2000-05-02 23:58 ` Juan J. Quintela
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.21.0005030004330.1677-100000@alpha.random \
--to=andrea@suse.de \
--cc=kanoj@google.engr.sgi.com \
--cc=linux-mm@kvack.org \
--cc=quintela@fi.udc.es \
--cc=torvalds@transmeta.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