All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjanv@redhat.com>
To: Petr Vandrovec <vandrove@vc.cvut.cz>
Cc: Ville Herva <vherva@viasys.com>, Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org
Subject: Re: 2.6.8.1-mm2 breaks vmware
Date: Sun, 22 Aug 2004 17:07:47 +0200	[thread overview]
Message-ID: <20040822150747.GB13131@devserv.devel.redhat.com> (raw)
In-Reply-To: <20040822143112.GB24092@vana.vc.cvut.cz>

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

On Sun, Aug 22, 2004 at 04:31:12PM +0200, Petr Vandrovec wrote:
> Whole situation (with originally released vmmon) looked like that vmware binary
> issued ioctl() to allocate memory, marked that page PG_RESERVED, and returned
> physical page number to userspace. Userspace then opened /dev/mem, and mapped
> that page to the process.  On cleanup /dev/mem was unmapped, PG_RESERVED bit
> was cleared, and page released (in my updates PG_RESERVED setting/clearing is
> removed, as it badly intereferes with page's refcounting).

I've sent andrew a patch that allows such mmaps again for PG_RESERVED pages.
The approach vmware did is rather questionable (as you say) and thankfully
fixed later, but breaking it is not entirely required.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-08-22 15:08 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-20 10:42 2.6.8.1-mm2 breaks vmware Ville Herva
2004-08-20 10:51 ` Andrew Morton
2004-08-20 13:18   ` Ville Herva
2004-08-20 14:43     ` Ville Herva
2004-08-20 15:16       ` Ville Herva
2004-08-20 18:45         ` Andrew Morton
2004-08-20 18:49           ` Arjan van de Ven
2004-08-20 19:30             ` Ville Herva
2004-08-22 11:42               ` Tonnerre
2004-08-22 13:59                 ` Petr Vandrovec
2004-08-22 14:15                   ` Alan Cox
2004-08-20 19:25           ` Ville Herva
2004-08-21  6:29           ` Ville Herva
     [not found]             ` <20040821134918.GA1585@devserv.devel.redhat.com>
     [not found]               ` <20040821190027.GQ3024@viasys.com>
     [not found]                 ` <20040821190730.GA25932@devserv.devel.redhat.com>
2004-08-22 14:31                   ` Petr Vandrovec
2004-08-22 15:07                     ` Arjan van de Ven [this message]
2004-08-22 21:19                     ` Ville Herva
2004-08-23  5:53                       ` [OT] vmware, 2.6 kernel and altgr key (Re: 2.6.8.1-mm2 breaks vmware) Ville Herva
2004-08-20 12:11 ` 2.6.8.1-mm2 breaks vmware Arjan van de Ven

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=20040822150747.GB13131@devserv.devel.redhat.com \
    --to=arjanv@redhat.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vandrove@vc.cvut.cz \
    --cc=vherva@viasys.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 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.