LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2018, 03:11 AM   #1
vishnumotghare
LQ Newbie
 
Registered: May 2018
Posts: 2

Rep: Reputation: Disabled
Accessing Unused IRQ stack in ARM64


Hi,

For ARM64, separate IRQ stack is implemented per cpu (https://lwn.net/Articles/657969/).

For process we have stack_not_used() function to calculate unused stack of process.

So Is it possible to print unused IRQ stack per cpu for interrupts like process?


Regards,
Vishnu
 
Old 05-30-2018, 05:46 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,511

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Could you please give your reasoning for assuming this is a possibility? Where on the linked page do you see 'stack_not_used'?
 
Old 05-30-2018, 06:47 AM   #3
vishnumotghare
LQ Newbie
 
Registered: May 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Each process gets its own stack, so I can print unused stack of each process using stack_not_used(struct task_struct *p) function call.

So now as there is separate stack available for IRQ on ARM64 arch, along with process stack I want to print the IRQ stack uses. But not sure how to do it.

So is there anyway we can print the IRQ stack uses?
 
Old 05-30-2018, 08:09 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,419
Blog Entries: 13

Rep: Reputation: 3737Reputation: 3737Reputation: 3737Reputation: 3737Reputation: 3737Reputation: 3737Reputation: 3737Reputation: 3737Reputation: 3737Reputation: 3737Reputation: 3737
You should contact the author of that email, their name is shown at the top of the article.

You also should look at the discussion thread they have in the linux kernel mailing list, which is not on this site. The links for that are also at the bottom of that article.

As you've been told, there is no function reference for what you asked about.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP : low stack detected by irq handler Leanux Linux - Server 2 06-28-2015 08:51 AM
[SOLVED] low stack detected by irq handler Leanux Linux - Software 1 06-25-2015 05:21 PM
low stack detected by irq handler beev1812 Linux - Server 1 08-22-2011 03:17 PM
UNIQ IRQ and Shared IRQ...I want to make Shared IRQ routin chxooi Linux - Hardware 1 06-12-2010 08:30 AM
accessing stack of non-current task shankarvk Linux - Kernel 3 04-28-2010 06:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration