Quoting Samuel Thibault (2015-01-02 01:26:10)
> Justus Winter, le Thu 18 Dec 2014 11:30:23 +0100, a écrit :
> > Otoh I believe this is the right thing to do even if it doesn't
> > improve the performance, as the current solution might be worse in a
> > multi-cpu setting, as the `ipc_kmsg_cache' would bounce back and forth
> > between per-cpu caches.  Also, it's cleaner :)
> 
> Yes, it looks much better than the previous copy/pasted code :)

To be honest, I'm not so sure anymore.  Richard thinks that no custom
cache should be needed here, as the slab allocator should be fast
enough to replace all custom caches.

This needs more testing.  Unfortunately I don't have Mach running on
real hardware at the moment.

Justus

Reply via email to