Re: [patch] avoid kmemcheck warning in epoll

2008-02-11 Thread Andrew Morton
On Mon, 11 Feb 2008 22:03:21 -0800 (PST) Davide Libenzi <[EMAIL PROTECTED]> wrote: > Thanks. > Subject: [patch] avoid kmemcheck warning in epoll I converted this to "epoll: avoid kmemcheck warning", as per SubmittingPatches's section 14. -- To unsubscribe fr

[patch] avoid kmemcheck warning in epoll

2008-02-11 Thread Davide Libenzi
Epoll calls rb_set_parent(n, n) to initialize the rb-tree node, but rb_set_parent() accesses node's pointer in its code. This creates a warning in kmemcheck (reported by Vegard Nossum) about an uninitialized memory access. The warning is harmless since the following rb-tree node insert is going

Re: [patch] avoid kmemcheck warning in epoll

2008-02-11 Thread Davide Libenzi
On Mon, 11 Feb 2008, Andrew Morton wrote: > On Sun, 10 Feb 2008 13:32:01 -0800 (PST) > Davide Libenzi <[EMAIL PROTECTED]> wrote: > > > Epoll calls rb_set_parent(n, n) to initialize the rb-tree node, but > > rb_set_parent() accesses node's pointer in its code. This creates a > > warning in kmemc

Re: [patch] avoid kmemcheck warning in epoll

2008-02-11 Thread Andrew Morton
On Sun, 10 Feb 2008 13:32:01 -0800 (PST) Davide Libenzi <[EMAIL PROTECTED]> wrote: > Epoll calls rb_set_parent(n, n) to initialize the rb-tree node, but > rb_set_parent() accesses node's pointer in its code. This creates a > warning in kmemcheck (reported by Vegard Nossum) about an uninitialized

[patch] avoid kmemcheck warning in epoll

2008-02-10 Thread Davide Libenzi
Epoll calls rb_set_parent(n, n) to initialize the rb-tree node, but rb_set_parent() accesses node's pointer in its code. This creates a warning in kmemcheck (reported by Vegard Nossum) about an uninitialized memory access. The warning is harmless since the following rb-tree node insert is going