Patchwork UBUNTU: [Config] Move to a 3G/1G memory split

login
register
mail settings
Submitter Paolo Pisati
Date Feb. 28, 2012, 10:58 a.m.
Message ID <1330426714-6596-2-git-send-email-paolo.pisati@canonical.com>
Download mbox | patch
Permalink /patch/143396/
State New
Headers show

Comments

Paolo Pisati - Feb. 28, 2012, 10:58 a.m.
BugLink: http://bugs.launchpad.net/bugs/861296

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
---
 debian.ti-omap4/config/config.common.ubuntu |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
Tim Gardner - Feb. 28, 2012, 12:42 p.m.
On 02/28/2012 03:58 AM, Paolo Pisati wrote:
> BugLink: http://bugs.launchpad.net/bugs/861296
>
> Signed-off-by: Paolo Pisati<paolo.pisati@canonical.com>
> ---
>   debian.ti-omap4/config/config.common.ubuntu |    6 +++---
>   1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/debian.ti-omap4/config/config.common.ubuntu b/debian.ti-omap4/config/config.common.ubuntu
> index d797272..b0b10c9 100644
> --- a/debian.ti-omap4/config/config.common.ubuntu
> +++ b/debian.ti-omap4/config/config.common.ubuntu
> @@ -1936,7 +1936,7 @@ CONFIG_P54_SPI=m
>   CONFIG_P54_USB=m
>   CONFIG_PACKET=y
>   CONFIG_PAGEFLAGS_EXTENDED=y
> -CONFIG_PAGE_OFFSET=0x80000000
> +CONFIG_PAGE_OFFSET=0xC0000000
>   # CONFIG_PAGE_POISONING is not set
>   CONFIG_PANEL=m
>   # CONFIG_PANEL_CHANGE_MESSAGE is not set
> @@ -3045,8 +3045,8 @@ CONFIG_VITESSE_PHY=m
>   CONFIG_VLAN_8021Q=m
>   CONFIG_VLAN_8021Q_GVRP=y
>   # CONFIG_VMSPLIT_1G is not set
> -CONFIG_VMSPLIT_2G=y
> -# CONFIG_VMSPLIT_3G is not set
> +# CONFIG_VMSPLIT_2G is not set
> +CONFIG_VMSPLIT_3G=y
>   CONFIG_VM_EVENT_COUNTERS=y
>   CONFIG_VT=y
>   # CONFIG_VT6656 is not set
Andy Whitcroft - Feb. 28, 2012, 12:51 p.m.
On Tue, Feb 28, 2012 at 11:58:34AM +0100, Paolo Pisati wrote:
> BugLink: http://bugs.launchpad.net/bugs/861296
> 
> Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
> ---
>  debian.ti-omap4/config/config.common.ubuntu |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/debian.ti-omap4/config/config.common.ubuntu b/debian.ti-omap4/config/config.common.ubuntu
> index d797272..b0b10c9 100644
> --- a/debian.ti-omap4/config/config.common.ubuntu
> +++ b/debian.ti-omap4/config/config.common.ubuntu
> @@ -1936,7 +1936,7 @@ CONFIG_P54_SPI=m
>  CONFIG_P54_USB=m
>  CONFIG_PACKET=y
>  CONFIG_PAGEFLAGS_EXTENDED=y
> -CONFIG_PAGE_OFFSET=0x80000000
> +CONFIG_PAGE_OFFSET=0xC0000000
>  # CONFIG_PAGE_POISONING is not set
>  CONFIG_PANEL=m
>  # CONFIG_PANEL_CHANGE_MESSAGE is not set
> @@ -3045,8 +3045,8 @@ CONFIG_VITESSE_PHY=m
>  CONFIG_VLAN_8021Q=m
>  CONFIG_VLAN_8021Q_GVRP=y
>  # CONFIG_VMSPLIT_1G is not set
> -CONFIG_VMSPLIT_2G=y
> -# CONFIG_VMSPLIT_3G is not set
> +# CONFIG_VMSPLIT_2G is not set
> +CONFIG_VMSPLIT_3G=y
>  CONFIG_VM_EVENT_COUNTERS=y
>  CONFIG_VT=y
>  # CONFIG_VT6656 is not set

I worry slightly about this as my memory is we are using a 2G/2G split
for something like a graphics controller which needs a huge amount of
kernel virtual addresses to operate and was preventing things working.

That said, assuming you have tested it, it appears to do what you claim:

Acked-by: Andy Whitcroft <apw@canonical.com>

-apw
Herton Ronaldo Krzesinski - Feb. 28, 2012, 5:16 p.m.
On Tue, Feb 28, 2012 at 11:58:34AM +0100, Paolo Pisati wrote:
> BugLink: http://bugs.launchpad.net/bugs/861296
> 
> Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
> ---
>  debian.ti-omap4/config/config.common.ubuntu |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/debian.ti-omap4/config/config.common.ubuntu b/debian.ti-omap4/config/config.common.ubuntu
> index d797272..b0b10c9 100644
> --- a/debian.ti-omap4/config/config.common.ubuntu
> +++ b/debian.ti-omap4/config/config.common.ubuntu
> @@ -1936,7 +1936,7 @@ CONFIG_P54_SPI=m
>  CONFIG_P54_USB=m
>  CONFIG_PACKET=y
>  CONFIG_PAGEFLAGS_EXTENDED=y
> -CONFIG_PAGE_OFFSET=0x80000000
> +CONFIG_PAGE_OFFSET=0xC0000000
>  # CONFIG_PAGE_POISONING is not set
>  CONFIG_PANEL=m
>  # CONFIG_PANEL_CHANGE_MESSAGE is not set
> @@ -3045,8 +3045,8 @@ CONFIG_VITESSE_PHY=m
>  CONFIG_VLAN_8021Q=m
>  CONFIG_VLAN_8021Q_GVRP=y
>  # CONFIG_VMSPLIT_1G is not set
> -CONFIG_VMSPLIT_2G=y
> -# CONFIG_VMSPLIT_3G is not set
> +# CONFIG_VMSPLIT_2G is not set
> +CONFIG_VMSPLIT_3G=y
>  CONFIG_VM_EVENT_COUNTERS=y
>  CONFIG_VT=y
>  # CONFIG_VT6656 is not set
> -- 
> 1.7.9
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
>

Patch

diff --git a/debian.ti-omap4/config/config.common.ubuntu b/debian.ti-omap4/config/config.common.ubuntu
index d797272..b0b10c9 100644
--- a/debian.ti-omap4/config/config.common.ubuntu
+++ b/debian.ti-omap4/config/config.common.ubuntu
@@ -1936,7 +1936,7 @@  CONFIG_P54_SPI=m
 CONFIG_P54_USB=m
 CONFIG_PACKET=y
 CONFIG_PAGEFLAGS_EXTENDED=y
-CONFIG_PAGE_OFFSET=0x80000000
+CONFIG_PAGE_OFFSET=0xC0000000
 # CONFIG_PAGE_POISONING is not set
 CONFIG_PANEL=m
 # CONFIG_PANEL_CHANGE_MESSAGE is not set
@@ -3045,8 +3045,8 @@  CONFIG_VITESSE_PHY=m
 CONFIG_VLAN_8021Q=m
 CONFIG_VLAN_8021Q_GVRP=y
 # CONFIG_VMSPLIT_1G is not set
-CONFIG_VMSPLIT_2G=y
-# CONFIG_VMSPLIT_3G is not set
+# CONFIG_VMSPLIT_2G is not set
+CONFIG_VMSPLIT_3G=y
 CONFIG_VM_EVENT_COUNTERS=y
 CONFIG_VT=y
 # CONFIG_VT6656 is not set