lkml.org 
[lkml]   [2013]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: slab: odd BUG on kzalloc
On Tue, Feb 19, 2013 at 01:18:25PM -0500, Sasha Levin wrote:

> >> [ 169.930103] ---[ end trace 4d135f3def21b4bd ]---
> >>
> >> The code translates to the following in fs/pipe.c:alloc_pipe_info :
> >>
> >> pipe = kzalloc(sizeof(struct pipe_inode_info), GFP_KERNEL);
> >> if (pipe) {
> >> pipe->bufs = kzalloc(sizeof(struct pipe_buffer) * PIPE_DEF_BUFFERS, GFP_KERNEL); <=== this
> >> if (pipe->bufs) {
> >> init_waitqueue_head(&pipe->wait);
>
> Looks like it's not specific to pipe(). I've also got this one now:
>
> Since I've managed to reproduce it, I'll go ahead and add slub_debug and see what it tells us.

I'm curious, did you recently upgrade gcc, or other parts of the toolchain ?
This, and one of the other 'weird' bugs you reported recently have me wondering
if perhaps you're seeing a compiler bug.

Dave



\
 
 \ /
  Last update: 2013-02-19 21:43    [W:0.077 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site