From: Adrian Cox <adrian@humboldt.co.uk>
To: linux-mm@kvack.org
Subject: Use of mmap_sem in map_user_kiobuf
Date: Fri, 06 Jul 2001 11:50:38 +0100 [thread overview]
Message-ID: <3B4597FE.7070901@humboldt.co.uk> (raw)
Does map_user_kiobuf really need to get a write lock on the mmap_sem?
From examination of the code, all it can do is expand_stack(), fault in
pages, and increment the count on a page.
Is there anything I've missed? Would it be safe to use down_read(),
up_read() instead?
--
Adrian Cox http://www.humboldt.co.uk/
--
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-mm.org/
next reply other threads:[~2001-07-06 10:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-06 10:50 Adrian Cox [this message]
2001-07-06 16:56 ` Andrea Arcangeli
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=3B4597FE.7070901@humboldt.co.uk \
--to=adrian@humboldt.co.uk \
--cc=linux-mm@kvack.org \
/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