Messages in this thread | | | Date | Mon, 19 Sep 2005 23:31:58 -0700 | From | Richard Henderson <> | Subject | Re: p = kmalloc(sizeof(*p), ) |
| |
On Mon, Sep 19, 2005 at 12:07:33AM +0100, Al Viro wrote: > What's happening might be (and no, I haven't looked into the gcc codegenerator > yet) as simple as too early conversion of assignment to memcpy() call, losing > the "we don't really use the address of this sucker after initialization" > in process.
Not quite. But failure to copy-propagate structures is a known problem. It's on the to-do list. Hopefully the improved alias analysis to be done for gcc 4.2 will make this task not suck.
*shrug*
r~ - 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/
| |