tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] invalidate pointers right after pool_put()

Christoph Egger <> wrote:
> attached patch invalidates pointers right after pool_put().
> I'm running a machine with this patch for several month
> w/o any problems.
> Is it ok to commit?

The kmem(9) and pool(9) subsystems already perform use-after-free checking
in debug/diagnostic kernels. I do not think there is a benefit in such patch,
and rtfree() part is especially ugly. What are you trying to solve?

Best regards,

Home | Main Index | Thread Index | Old Index