]> code.ossystems Code Review - meta-freescale.git/commit
linux-qoriq: change defconfig for T1040 to match number of cpus
authorBob Cochran <yocto@mindchasers.com>
Fri, 14 Nov 2014 04:05:20 +0000 (23:05 -0500)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Thu, 4 Dec 2014 13:25:46 +0000 (21:25 +0800)
commit770d5e33066b1f16ac060011d861843c079de16a
tree20afba0f1796990d3a1f10b34ceb78cecd24552e
parent7b5ff091ee7d1c0f22b6edbf5ba3ed85439bbb23
linux-qoriq: change defconfig for T1040 to match number of cpus

Having a number higher than necessary for NR_CPUS wastes memory by
instantiating unnecessary structures in RAM.  An example is in the DPAA
where DPAA_ETH_TX_QUEUES is defined based on NR_CPUS and used to create
dozens of extra qman_fq structures.  Using the prior value of 24, which
was left over from the T4240 created an additonal 60 frame queue
structures alone.

This has been tested on t1040rdb-64b.

Signed-off-by: Bob Cochran <yocto@mindchasers.com>
meta-fsl-ppc/recipes-kernel/linux/files/modify-defconfig-t1040-nr-cpus.patch [new file with mode: 0644]
meta-fsl-ppc/recipes-kernel/linux/linux-qoriq_3.12.bb