Messages in this thread | | | Date | Wed, 05 Feb 2014 09:36:03 -0800 | From | "H. Peter Anvin" <> | Subject | Re: 3.13: BUG: unable to handle kernel paging request at 00000000b4343e88 |
| |
On 02/05/2014 09:00 AM, Peter Oberparleiter wrote: > > Could you give this patch a try? It is a variation of the approach > proposed in the discussion mentioned earlier and fixes the problem > on my system. >
I would rather suggest that we explicitly disable gcov etc. from these kinds of small, magic primitives. Honestly, you're just trying to put a bandaid on a gaping wound.
The real thing here is that hweight.c is not a normal C file, and we shouldn't treat is as such. It is a constrained environment, and trying to tack crap like gcov to it is bound to lose, simply because gcov doesn't know the rules it has to play by.
Even with the below change, if gcov clobbers, say, %rdx we're still screwed.
-hpa
| |