[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4ECC67B9.4050306@codeaurora.org>
Date: Tue, 22 Nov 2011 19:25:45 -0800
From: Saravana Kannan <skannan@...eaurora.org>
To: Ohad Ben-Cohen <ohad@...ery.com>
CC: linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Russell King <linux@....linux.org.uk>,
Arnd Bergmann <arnd@...db.de>,
Tony Lindgren <tony@...mide.com>,
Brian Swetland <swetland@...gle.com>,
Rusty Russell <rusty@...tcorp.com.au>,
Grant Likely <grant.likely@...retlab.ca>,
akpm@...ux-foundation.org
Subject: Re: [PATCH 0/7] Introducing a generic AMP framework
On 10/25/2011 02:48 AM, Ohad Ben-Cohen wrote:
> Modern SoCs typically employ a central symmetric multiprocessing (SMP)
> application processor running Linux, with several other asymmetric
> multiprocessing (AMP) heterogeneous processors running different instances
> of operating system, whether Linux or any other flavor of real-time OS.
>
> OMAP4, for example, has dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP.
> Typically, the dual cortex-A9 is running Linux in a SMP configuration, and
> each of the other three cores (two M3 cores and a DSP) is running its own
> instance of RTOS in an AMP configuration.
>
> AMP remote processors typically employ dedicated DSP codecs and multimedia
> hardware accelerators, and therefore are often used to offload cpu-intensive
> multimedia tasks from the main application processor. They could also be
> used to control latency-sensitive sensors, drive 'random' hardware blocks,
> or just perform background tasks while the main CPU is idling.
>
I understand that I might be saying this pretty late in the review, but
can we please stop calling these as AMP configurations? IMHO, in the
kernel, we should limit the terms AMP and SMP to be based on the
processors/CPUs on which this specific instance of the Linux kernel can
schedule processes on.
With the definition of AMP that you are trying to use, even a Intel
386/486 machine with just one Intel core will be an AMP system. I'm sure
even those old PCs had other processors inside other devices (HDDs,
GPUs, etc) executing random firmware.
So, what would you call Intel dual core machines? SMP-AMP? Your proposed
use of AMP muddles these terms and makes them useless. I think AMP
should be reserved for things like the ARM Big-little architecture, etc,
where the CPUs in which the kernel schedules processes are not identical.
Sorry for the rant, this naming just rubs me the wrong way. I definitely
appreciate the idea behind these patches.
Thanks,
Saravana
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists