All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: Andrew Morton <akpm@osdl.org>
Cc: dwmw2@infradead.org, hch@infradead.org, torvalds@osdl.org,
	davidm@snapgear.com, linux-kernel@vger.kernel.org,
	uclinux-dev@uclinux.org, kamezawa.hiroyu@jp.fujitsu.com
Subject: Re: [PATCH] VM routine fixes
Date: Thu, 11 Nov 2004 12:03:04 +0000	[thread overview]
Message-ID: <25483.1100174584@redhat.com> (raw)
In-Reply-To: <20041111034353.00d35589.akpm@osdl.org>


> > No, it isn't. munmap() is prohibited from releasing anything other than a
> > complete mmap() on uClinux.
> 
> hrm.  I'd have thought that such a restriction would be unnecessary if we
> get the page refcounting done right.  With, say, compound pages!

I don't think you want to go there. Don't forget in a lot of cases you're
dealing with shared objects, and so you can't just go punching holes in the
middle thereof.

> Compound pages are just a way of handling refcounting of a higher-order
> page.  Nothing to do with TLBs at all.

In that case, I'll look at making compound pages mandatory if you wish. I'd
rather avoid doing so because they incur additional overheads, and it'll be on
MMU and !MMU both, but it does make multi-order page handling appear more
robust.

David

  reply	other threads:[~2004-11-11 12:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-08 14:32 [PATCH] VM routine fixes dhowells
2004-11-09 12:55 ` Christoph Hellwig
2004-11-09 13:53   ` David Howells
2004-11-09 14:01     ` Christoph Hellwig
2004-11-10 13:37       ` David Howells
2004-11-10 19:01         ` Andrew Morton
2004-11-11  1:17           ` David Woodhouse
2004-11-11  2:26             ` Andrew Morton
2004-11-11 11:29               ` David Howells
2004-11-11 11:43                 ` Andrew Morton
2004-11-11 12:03                   ` David Howells [this message]
2004-11-11 22:31 ` Andrew Morton
2004-11-12 10:33   ` David Howells
2004-11-12 10:38     ` Andrew Morton
2004-11-12 11:05       ` David Howells
2004-11-14  5:07         ` Linus Torvalds
2004-11-15 13:14           ` David Howells
2004-11-15 15:35             ` Linus Torvalds

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=25483.1100174584@redhat.com \
    --to=dhowells@redhat.com \
    --cc=akpm@osdl.org \
    --cc=davidm@snapgear.com \
    --cc=dwmw2@infradead.org \
    --cc=hch@infradead.org \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    --cc=uclinux-dev@uclinux.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.