From: "David S. Miller" <davem@redhat.com>
To: tytso@mit.edu
Cc: davej@suse.de, torvalds@transmeta.com,
linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: BUG FIX?: mm->rss is modified in some places without holding the page_table_lock
Date: Fri, 3 Nov 2000 03:33:37 -0800 [thread overview]
Message-ID: <200011031133.DAA10265@pizda.ninka.net> (raw)
In-Reply-To: <200011031139.eA3BdMH19480@trampoline.thunk.org> (tytso@mit.edu)
In-Reply-To: <Pine.LNX.4.21.0010130114090.13322-100000@neo.local> <200011031139.eA3BdMH19480@trampoline.thunk.org>
Date: Fri, 3 Nov 2000 06:39:22 -0500
From: tytso@mit.edu
Given that we don't have a 64-bit atomic_t type, what do people
think of Davej's patch? (attached, below)
Broken, in 9 out of 10 places where he adds page_table_lock
acquisitions, this lock is already held --> instant deadlock.
This report is complicated by the fact that people were forgetting
that vmlist_*_{lock,unlock}(mm) was actually just spin_{lock,unlock}
on mm->page_table_lock. I fixed that already by removing the dumb
vmlist locking macros which were causing all of this confusion.
Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2000-11-03 11:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.21.0010130114090.13322-100000@neo.local>
2000-11-03 11:39 ` BUG FIX?: mm->rss is modified in some places without holding the page_table_lock tytso
2000-11-03 11:33 ` David S. Miller [this message]
2000-11-03 14:56 ` Theodore Y. Ts'o
2000-11-03 14:51 ` David S. Miller
2000-11-04 23:37 ` Rasmus Andersen
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=200011031133.DAA10265@pizda.ninka.net \
--to=davem@redhat.com \
--cc=davej@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=torvalds@transmeta.com \
--cc=tytso@mit.edu \
/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