Re: [PATCH v2 1/2] SELinux: reduce overhead of mls_level_isvalid()function call

From: Waiman Long
Date: Fri Jun 07 2013 - 15:50:54 EST


On 06/07/2013 02:09 PM, Stephen Smalley wrote:

Can't you unify this logic with the nearly identical logic below?


By separating the logic, we can usually get the best performance out of the two separate loops. If code size and maintainability are a bigger concern, I can certainly merge the logic. I will try to merge and send out a new patch if the performance difference is negligible.

Regards,
Longman
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/