Re: UP/SMP difference in IRQ_STAT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 07, 2002 at 06:34:29PM +0530, Bharata B Rao wrote:

> As you can see, with this, the assignment won't work. Eg, If I wan't to do
> local_irq_count = 0, it translates (under UP) to
> (cpu, irq_stat[0].__local_irq_count) = 0, which is syntactically wrong.

yes, I follow your point (at least in 2.2 there were several cases like this)

You have two options

1) define IRQ_STAT locally as you need it
2) post a patch to linux-kernel with relevant benchmarks and statistics showing it
   has no appreciable performance benefit to stay broken like this

regards
john

-- 
"I went to set up a Yahoo ID for my dog. (Don't ask, but the DOG'S email was cluttering my inbox)." 
	- Ruthless Advisorette
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux