On Mon, 2007-01-29 at 20:45 -0800, Andrew Morton wrote:I was running likely profiling and I noticed that when I turn on the "tickless" option I get the following line, +unlikely | 21111208| 9367278 need_resched()@:include/linux/sched.h@1597 This means that this line is 21111208 true, and 9367278 false. This existed on bootup, and stayed after about 7 hours of runtime (mostly idle). Since need_resched is a "static inline" there are multiple instances of need_resched() in the kernel. If I turn off the "tickless" feature this wrong unlikely disappears, and the output looks like this, unlikely | 0| 169 need_resched()@:include/linux/sched.h@1597 unlikely | 0| 94 need_resched()@:include/linux/sched.h@1597 unlikely | 0| 63 need_resched()@:include/linux/sched.h@1597 unlikely | 0| 19 need_resched()@:include/linux/sched.h@1597 unlikely | 0| 379 need_resched()@:include/linux/sched.h@1597 unlikely | 1| 202596 need_resched()@:include/linux/sched.h@1597 unlikely | 7| 205929 need_resched()@:include/linux/sched.h@1597 unlikely | 6461| 271690 need_resched()@:include/linux/sched.h@1597 Only a little after boot. I suppose this could be a natural side effect of the tickless feature but I thought I would report it anyway. Daniel -
| Chuck Ebbert | Wanted: simple, safe x86 stack overflow detection |
| Alan Cox | Re: ndiswrapper and GPL-only symbols redux |
| Yinghai Lu | [PATCH 03/42] x86: remove irq_vectors_limits |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
git: | |
| しらいしななこ | Re: [ANNOUNCE] GIT 1.5.4 |
| Jan Wielemaker | git filter-branch --subdirectory-filter, still a mistery |
| Pierre Habouzit | [PATCH] guilt(1): Obvious bashisms fixed. |
| Christopher Faylor | Re: First cut at git port to Cygwin |
| Thilo Pfennig | OpenBSD project goals |
| Marco Peereboom | Re: Real men don't attack straw men |
| Daniel Hazelton | Re: Wasting our Freedom |
| Luke Bakken | Re: No Blob without Puffy |
| Julius Volz | [PATCHv3 19/24] IVPS: Disable sync daemon for IPv6 connections |
| Paul Moore | [RFC PATCH v4 04/14] selinux: Fix missing calls to netlbl_skbuff_err() |
| Dave Jones | odd RTL8139 quirk. |
| Patrick McHardy | [NET_SCHED 04/15]: act_api: use nlmsg_parse |
