login
Header Space

 
 

Re: Linux 2.6.25-rc7 sparc64 loops forever on cat /proc/<pid>/pagemap

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Miller <davem@...>
Cc: <torvalds@...>, <linux-kernel@...>, <sparclinux@...>
Date: Friday, March 28, 2008 - 7:33 am

Hello David,


I see. Sorry for the noise then 8-) I've got a couple of scripts for testing
/proc and /sys and I just noticed that some of processes started by them
would run for a couple hours eating 100% CPU which doesn't happen on other
arch'es I have around - hence my report. Thanks for clarification.


That's true.
 

This patch certainly helps in my case. Tested here:

sparc64 # time cat /proc/1/pagemap > /dev/null
real    0m0.046s
user    0m0.000s
sys     0m0.047s

Thanks,

	Mariusz
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Linux 2.6.25-rc7, Linus Torvalds, (Tue Mar 25, 10:07 pm)
Re: Linux 2.6.25-rc7 sparc64 loops forever on cat /proc/&lt;..., Mariusz Kozlowski, (Wed Mar 26, 8:02 am)
Re: Linux 2.6.25-rc7 sparc64 loops forever on cat /proc/<..., Mariusz Kozlowski, (Fri Mar 28, 7:33 am)
sparc64 BUG: using smp_processor_id() in preemptible, Mariusz Kozlowski, (Wed Mar 26, 6:42 am)
Re: sparc64 BUG: using smp_processor_id() in preemptible, Andrew Morton, (Wed Mar 26, 11:25 pm)
Re: sparc64 BUG: using smp_processor_id() in preemptible, Mariusz Kozlowski, (Wed Mar 26, 7:46 am)
Re: sparc64 BUG: using smp_processor_id() in preemptible, Mariusz Kozlowski, (Wed Mar 26, 8:10 am)
speck-geostationary