From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gLt9M-0005yg-Ie for kernelnewbies@kernelnewbies.org; Sun, 11 Nov 2018 12:03:52 -0500 Received: by mail-lf1-x136.google.com with SMTP id n18so4552279lfh.6 for ; Sun, 11 Nov 2018 09:03:52 -0800 (PST) MIME-Version: 1.0 From: Carter Cheng Date: Mon, 12 Nov 2018 01:03:28 +0800 Message-ID: Subject: function stack frames in the kernel To: kernelnewbies@kernelnewbies.org List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============3560410848396199533==" Errors-To: kernelnewbies-bounces@kernelnewbies.org Message-ID: <20181111170328.7BvdCX_hghHKiBbMFEZwJmBIqrjawnGa1E6yiiD8pl0@z> --===============3560410848396199533== Content-Type: multipart/alternative; boundary="0000000000007a7dd9057a669115" --0000000000007a7dd9057a669115 Content-Type: text/plain; charset="UTF-8" Hello, I am wondering how the compiler divines which stack to use for function calls and placement of locals and arguments when a function call is made inside the kernel since the kernel has multiple call stacks. Are function calls handled manually inside kernel code or is there something special inside the compiler for handling this? Thanks, Carter --0000000000007a7dd9057a669115 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I am wondering how the compiler = divines which stack to use for function calls and placement of locals and a= rguments when a function call is made inside the kernel since the kernel ha= s multiple call stacks. Are function calls handled manually inside kernel c= ode or is there something special inside the compiler for handling this?

Thanks,

Carter
--0000000000007a7dd9057a669115-- --===============3560410848396199533== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============3560410848396199533==--