Matt Mackall wrote:
quoted text > We already know users (ie nommu memory usage reporting) are abusing this
> interface. Making them blow up is unnecessary. Just give them wrong
> answers. Issuing a warning might be a good idea for debugging.
But kobjsize() never calls ksize() with SLOB as it doesn't set PageSlab.
Or are you talking about something else here?
Matt Mackall wrote:
quoted text > Second, I'd prefer to keep this sort of debugging code out of SLOB.
> SLUB is much better suited to debugging allocator abuse.
Fair enough. I'll drop the patch.
--
unsubscribe notice 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/
Messages in current thread:
Re: [RFC/PATCH 3/3] SLOB: make ksize() more strict for pag ... , Pekka Enberg , (Wed May 21, 12:11 pm)