Re: [PATCH] Address space split configuration

From: Mark Lord
Date: Tue Jan 10 2006 - 10:10:22 EST


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';