lkml.org 
[lkml]   [2014]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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



\
 
 \ /
  Last update: 2014-02-05 18:41    [W:0.057 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site