From: ebiederm+eric@ccr.net (Eric W. Biederman)
To: linux-mm@kvack.org
Subject: Bug in the mmap code?
Date: 03 Jan 1999 16:00:57 -0600 [thread overview]
Message-ID: <m13e5skodi.fsf@flinx.ccr.net> (raw)
I have just been looking through the mmap code,
with emphases on generic_file_mmap.
What I have discovered is that generic_file_mmap increases file->f_count
but nothing decreases said count.
file->f_count is also increased if a vma is split in half, by an unmap
operation by the generic code.
Should the generic code handle this or should we leave all of that
work to the open and close methods?
Eric
--
This is a majordomo managed list. To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org
next reply other threads:[~1999-01-03 22:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-03 22:00 Eric W. Biederman [this message]
1999-01-03 22:36 ` Bug in the mmap code? Eric W. Biederman
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=m13e5skodi.fsf@flinx.ccr.net \
--to=ebiederm+eric@ccr.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.