login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
January
»
2
Re: [BUG 2.6.20-rc2-mm1] init segfaults when CONFIG_PROFILE_LIKELY=y
view
thread
Previous message: [thread] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: john stultz
Subject:
Re: [BUG 2.6.20-rc2-mm1] init segfaults when CONFIG_PROFILE_LIKELY=y
Date: Tuesday, January 2, 2007 - 12:47 pm
On Sun, 2006-12-31 at 11:45 -0800, Daniel Walker wrote:
quoted text
> On Sun, 2006-12-31 at 23:04 +0800, Fengguang Wu wrote: > > Hi, > > > > The following messages keeps popping up when CONFIG_PROFILE_LIKELY=y: > > > > init[1]: segfault at ffffffff8118c110 rip ffffffff8118c110 rsp 00007fff9a9d14d8 error 15 > > init[1]: segfault at ffffffff8118c110 rip ffffffff8118c110 rsp 00007fff9a9d14d8 error 15 > > init[1]: segfault at ffffffff8118c110 rip ffffffff8118c110 rsp 00007fff9a9d14d8 error 15 > > init[1]: segfault at ffffffff8118c110 rip ffffffff8118c110 rsp 00007fff9a9d14d8 error 15 > > init[1]: segfault at ffffffff8118c110 rip ffffffff8118c110 rsp 00007fff9a9d14d8 error 15 > > init[1]: segfault at ffffffff8118c110 rip ffffffff8118c110 rsp 00007fff9a9d14d8 error 15 > > init[1]: segfault at ffffffff8118c110 rip ffffffff8118c110 rsp 00007fff9a9d14d8 error 15 > > init[1]: segfault at ffffffff8118c110 rip ffffffff8118c110 rsp 00007fff9a9d14d8 error 15 > > > > > Does this seem like an appropriate solution? This just reconstitutes > Ingo's patch by removing the unlikely calls that got added recently. > > Maybe a comment into vsyscall.c that says to stay away from all macro's > and possible debug code that could be added might be helpful ? > > Signed-Off-By: Daniel Walker <dwalker@mvista.com>
Yep, good catch Daniel! Acked-by: John Stultz <johnstul@us.ibm.com>
quoted text
> --- > arch/x86_64/kernel/vsyscall.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > Index: linux-2.6.19/arch/x86_64/kernel/vsyscall.c > =================================================================== > --- linux-2.6.19.orig/arch/x86_64/kernel/vsyscall.c > +++ linux-2.6.19/arch/x86_64/kernel/vsyscall.c > @@ -111,7 +111,7 @@ static __always_inline void do_vgettimeo > seq = read_seqbegin(&__vsyscall_gtod_data.lock); > > vread = __vsyscall_gtod_data.clock.vread; > - if (unlikely(!__vsyscall_gtod_data.sysctl_enabled || !vread)) { > + if (!__vsyscall_gtod_data.sysctl_enabled || !vread) { > gettimeofday(tv,0); > return; > } > @@ -151,7 +151,7 @@ int __vsyscall(0) vgettimeofday(struct t > * unlikely */ > time_t __vsyscall(1) vtime(time_t *t) > { > - if (unlikely(!__vsyscall_gtod_data.sysctl_enabled)) > + if (!__vsyscall_gtod_data.sysctl_enabled) > return time_syscall(t); > else if (t) > *t = __vsyscall_gtod_data.wall_time_tv.tv_sec; > >
-
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [thread] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
Re: [BUG 2.6.20-rc2-mm1] init segfaults when CONFIG_PROFIL ...
, john stultz
, (Tue Jan 2, 12:47 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Dmitry Torokhov
Re: Clarifying platform_device_unregister
Theodore Tso
Re: [RFC] [PATCH 3/3] Recursive mtime for ext3
Kevin Cernekee
[PATCH 7/7] MIPS: Fix regression on BCM4710 processor detection
Eric W. Biederman
Re: [PATCH] task containersv11 add tasks file interface fix for cpusets
Volker Sauer
Re: D-Link DFE-580TX and snmpd problems, who's maintainer of sundance.c ?
git
:
Jeff King
Re: [PATCH] git-name-rev: accept list of refs from user
Johan Herland
Re: Empty directories...
Brandon Casey
[PATCH v3] t7700: demonstrate mishandling of objects in packs with a .keep file
Steffen Prohaska
[PATCH] user-manual: mention git gui citool (commit, amend)
Krzysztof Halasa
Re: [PATCH] Change "refs/" references to symbolic constants
linux-netdev
:
Eric Dumazet
Re: tun: Use netif_receive_skb instead of netif_rx
Stephen Hemminger
Re: [PATCH] make TLLAO option for NA packets configurable
Eric Dumazet
[PATCH] net: fix rtable leak in net/ipv4/route.c
Ira Snyder
Re: [PATCH RFC v2] net: add PCINet driver
Stephen Hemminger
[PATCH] netfilter: use per-cpu recursive lock (v13)
git-commits-head
:
Linux Kernel Mailing List
nfsd race fixes: ext2
Linux Kernel Mailing List
m68knommu: MCF5307 PIT GENERIC_CLOCKEVENTS support
Linux Kernel Mailing List
Remove the macro get_personality
Linux Kernel Mailing List
perf counters: add prctl interface to disable/enable counters
Linux Kernel Mailing List
Staging: rtl8192su: fix test for negative error in rtl8192_rx_isr()
openbsd-misc
:
Miod Vallat
Re: No Blob without Puffy
Henning Brauer
Re: Resilient RAID
Paul M
Re: WAY OT: Have you hugged your local OpenBSD dev lately?
Fred Crowson
Re: need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds...
E.T
Processeur Atom ?
Colocation donated by:
Syndicate