public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: walt <w41ter@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: [PATCH]  Linus breaks virtualbox-modules again
Date: Mon, 15 Oct 2012 10:33:33 -0700	[thread overview]
Message-ID: <507C48ED.9090309@gmail.com> (raw)
In-Reply-To: <k5hc7r$792$1@ger.gmane.org>

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


Well, this is really a temporary workaround for people who like to
run the latest git kernel from Linus, and it's only tested for
virtualbox-modules-4.2.0-r1, and only on ~amd_64.



[-- Attachment #2: vbox.patch --]
[-- Type: text/x-patch, Size: 836 bytes --]

--- vboxdrv/r0drv/linux/memobj-r0drv-linux.c.orig	2012-06-12 01:08:34.000000000 -0700
+++ vboxdrv/r0drv/linux/memobj-r0drv-linux.c	2012-10-15 10:23:45.471813411 -0700
@@ -1457,7 +1457,7 @@
 
 #if   defined(VBOX_USE_INSERT_PAGE) && LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22)
                     rc = vm_insert_page(vma, ulAddrCur, pMemLnxToMap->apPages[iPage]);
-                    vma->vm_flags |= VM_RESERVED; /* This flag helps making 100% sure some bad stuff wont happen (swap, core, ++). */
+                    vma->vm_flags |= VM_IO; /* This flag helps making 100% sure some bad stuff wont happen (swap, core, ++). */
 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 11)
                     rc = remap_pfn_range(vma, ulAddrCur, page_to_pfn(pMemLnxToMap->apPages[iPage]), PAGE_SIZE, fPg);
 #elif defined(VBOX_USE_PAE_HACK)

  parent reply	other threads:[~2012-10-15 17:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-15 16:05 [gentoo-user] [PATCH] Linus breaks nvidia-drivers again walt
2012-10-15 17:30 ` [gentoo-user] Re: [PATCH] Linus breaks ati-drivers again walt
2012-10-15 17:33 ` walt [this message]
2012-10-15 18:10 ` [gentoo-user] [PATCH] Linus breaks nvidia-drivers again Walter Dnes
2012-10-15 18:19   ` pk
2012-10-15 18:59     ` Walter Dnes
2012-10-15 23:21   ` [gentoo-user] " walt
2012-10-16  7:30     ` microcai

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=507C48ED.9090309@gmail.com \
    --to=w41ter@gmail.com \
    --cc=gentoo-user@lists.gentoo.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