From: Shaya Potter <spotter@cs.columbia.edu>
To: Christoph Hellwig <hch@infradead.org>
Cc: Jamie Lokier <jamie@shareable.org>, linux-fsdevel@vger.kernel.org
Subject: Re: which dentry a page belongs to
Date: Fri, 23 Apr 2004 13:32:52 -0400 [thread overview]
Message-ID: <1082741571.1943.66.camel@zaphod> (raw)
In-Reply-To: <20040423182216.A4514@infradead.org>
On Fri, 2004-04-23 at 18:22 +0100, Christoph Hellwig wrote:
> On Fri, Apr 23, 2004 at 01:18:27PM -0400, Shaya Potter wrote:
> > > you can be in writepage with page->mapping->i_mmap{,shared} beeing empty.
> > > No way in hell you'll ever get to a dentry.
> >
> > the question being in what cases will that happen, so I can make a
> > determination if I care about those cases. (i.e. if the dentry is
> > deleted, I don't particularly care, as since I am versioning, if it's
> > already been deleted, don't care)
> >
> > i.e. how can I determine where i_mmap{,shared} exist and when does't it?
> > (in file system page context).
>
> if there's no mapping anymore at the point of the writeback. e.g. when
> an munmap happened before the writeback is scheduled. And you can't
> determine it except by checking whether it's empty.
so that could be very repeatable if a process does a write to memory and
then quits. hmm.
> p.s. wondering what strange homework assignments they give these days..
not homework, research project. and yes, it is strange. :) I'm
finished w/ my course work.
next prev parent reply other threads:[~2004-04-23 17:33 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-23 14:57 which dentry a page belongs to Shaya Potter
2004-04-23 15:14 ` Jamie Lokier
2004-04-23 15:42 ` Shaya Potter
2004-04-23 16:37 ` Christoph Hellwig
2004-04-23 16:52 ` Shaya Potter
2004-04-23 17:01 ` Christoph Hellwig
2004-04-23 17:18 ` Shaya Potter
2004-04-23 17:22 ` Christoph Hellwig
2004-04-23 17:32 ` Shaya Potter [this message]
2004-04-23 17:37 ` Jamie Lokier
2004-04-23 17:59 ` Shaya Potter
2004-04-23 22:13 ` Jamie Lokier
2004-04-23 18:05 ` Shaya Potter
2004-04-23 21:37 ` Jamie Lokier
2004-04-23 22:26 ` Shaya Potter
2004-04-23 22:49 ` Jamie Lokier
2004-04-25 5:23 ` Shaya Potter
2004-04-25 23:22 ` Erez Zadok
2004-04-24 8:53 ` Jan Hudec
2004-04-24 8:44 ` Jan Hudec
2004-04-24 9:20 ` Christoph Hellwig
2004-04-24 9:32 ` Jan Hudec
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=1082741571.1943.66.camel@zaphod \
--to=spotter@cs.columbia.edu \
--cc=hch@infradead.org \
--cc=jamie@shareable.org \
--cc=linux-fsdevel@vger.kernel.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.