Re: [PATCH] Address space split configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This (below) is NOT a kernel patch, but anyone running VMware
will need something like it when using the 2G-2G split:

Cheers



--- vmware-config.pl.orig	2006-01-10 10:05:55.000000000 -0500
+++ vmware-config.pl	2006-01-10 10:07:29.000000000 -0500
@@ -2593,7 +2593,9 @@
         my $first;

         $first = lc(substr($fields[0], 0, 1));
-        if ($first =~ /^[4567]$/) {
+        if (lc(substr($fields[0],0,2)) =~ /^78$/) {
+          $first = '78000000';
+        } elsif ($first =~ /^[4567]$/) {
           $first = '40000000';
         } elsif ($first =~ /^[89ab]$/) {
           $first = '80000000';
--- vmware-config.pl.orig	2006-01-10 10:05:55.000000000 -0500
+++ vmware-config.pl	2006-01-10 10:07:29.000000000 -0500
@@ -2593,7 +2593,9 @@
         my $first;
 
         $first = lc(substr($fields[0], 0, 1));
-        if ($first =~ /^[4567]$/) {
+        if (lc(substr($fields[0],0,2)) =~ /^78$/) {
+          $first = '78000000';
+        } elsif ($first =~ /^[4567]$/) {
           $first = '40000000';
         } elsif ($first =~ /^[89ab]$/) {
           $first = '80000000';

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux