From: "David S. Miller" <davem@redhat.com>
To: kernel@tekno-soft.it
Cc: rasmus@jaquet.dk, torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm->rss is modified without page_table_lock held
Date: Sat, 9 Dec 2000 04:32:21 -0800 [thread overview]
Message-ID: <200012091232.EAA17524@pizda.ninka.net> (raw)
In-Reply-To: <4.3.2.7.2.20001209111347.00c829f0@mail.tekno-soft.it> (message from Roberto Fichera on Sat, 09 Dec 2000 11:25:09 +0100)
In-Reply-To: <4.3.2.7.2.20001209111347.00c829f0@mail.tekno-soft.it>
Date: Sat, 09 Dec 2000 11:25:09 +0100
From: Roberto Fichera <kernel@tekno-soft.it>
Why we couldn't use atomic_inc(&mm->rss) here and below, avoiding to wrap
the inc with a spin_lock()/spin_unlock() ?
atomic_t does not guarentee a large enough range necessary for mm->rss
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-12-09 13:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-08 20:29 Rasmus Andersen
2000-12-08 20:36 ` Mark Hahn
2000-12-08 20:58 ` David S. Miller
2000-12-09 10:25 ` Roberto Fichera
2000-12-09 12:32 ` David S. Miller [this message]
2000-12-09 12:43 ` Rasmus Andersen
2000-12-09 14:42 ` David S. Miller
2000-12-09 22:38 ` Albert D. Cahalan
2000-12-09 14:48 ` Roberto Fichera
2000-12-09 15:00 ` David S. Miller
2000-12-09 15:07 ` Roberto Fichera
2000-12-09 18:11 ` Roberto Fichera
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=200012091232.EAA17524@pizda.ninka.net \
--to=davem@redhat.com \
--cc=kernel@tekno-soft.it \
--cc=linux-kernel@vger.kernel.org \
--cc=rasmus@jaquet.dk \
--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
all inboxes | Powered by JetHome®