All of lore.kernel.org
 help / color / mirror / Atom feed
* P3041DS,P2041DS: memory issue
@ 2015-06-03 11:00 Siva Borra
  2015-06-04  3:05 ` Luo Zhenhua
  0 siblings, 1 reply; 2+ messages in thread
From: Siva Borra @ 2015-06-03 11:00 UTC (permalink / raw)
  To: meta-freescale; +Cc: Adrian Dudau

Hello,

When I have enabled PREEMPT_RT_FULL on kernel, and see that the 
/proc/meminfo shows
only 660 MB of RAM, where as physical RAM that is attached is 4GB.

CONFIG_PREEMPT_RT_FULL=y
CONFIG_HZ_1000=y
CONFIG_HZ=1000

the meminfo reported 4GB when in normal case.  This is seen on both 
P3041Ds and P2041DS.
How to fix this issue?

Regards,
Siva Borra.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: P3041DS,P2041DS: memory issue
  2015-06-03 11:00 P3041DS,P2041DS: memory issue Siva Borra
@ 2015-06-04  3:05 ` Luo Zhenhua
  0 siblings, 0 replies; 2+ messages in thread
From: Luo Zhenhua @ 2015-06-04  3:05 UTC (permalink / raw)
  To: Siva Borra, meta-freescale; +Cc: Adrian Dudau

config HIGHMEM
        bool "High memory support"
        depends on PPC32 && !PREEMPT_RT_FULL

The highly helpful commit message of the patch that does this is:

    power-disable-highmem-on-rt.patch

    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Some vague details here:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6377

Looking at the x86 code, the fix appears to be the addition of 
current->kmap_pte[] bookkeeping, and switch_kmaps() on context switch.


Best Regards,

Zhenhua

> -----Original Message-----
> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-
> bounces@yoctoproject.org] On Behalf Of Siva Borra
> Sent: Wednesday, June 03, 2015 7:01 PM
> To: meta-freescale@yoctoproject.org
> Cc: Adrian Dudau
> Subject: [meta-freescale] P3041DS,P2041DS: memory issue
> 
> Hello,
> 
> When I have enabled PREEMPT_RT_FULL on kernel, and see that the
> /proc/meminfo shows only 660 MB of RAM, where as physical RAM that is
> attached is 4GB.
> 
> CONFIG_PREEMPT_RT_FULL=y
> CONFIG_HZ_1000=y
> CONFIG_HZ=1000
> 
> the meminfo reported 4GB when in normal case.  This is seen on both P3041Ds
> and P2041DS.
> How to fix this issue?
> 
> Regards,
> Siva Borra.
> 
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-04  3:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-03 11:00 P3041DS,P2041DS: memory issue Siva Borra
2015-06-04  3:05 ` Luo Zhenhua

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.