lkml.org 
[lkml]   [2004]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] [LSM] Rework LSM hooks
From
Date
On Maw, 2004-08-10 at 15:16, James Morris wrote:
> On Tue, 10 Aug 2004, Kurt Garloff wrote:
>
> > * Even with selinux=0 and capability loaded, the kernel takes a
> > few percents in networking benchmarks (measured by HP on ia64);
> > this is caused by the slowliness of indirect jumps on ia64.
>
> Is this just an ia64 issue? If so, then perhaps we should look at only
> penalising ia64? Otherwise, loading an LSM module is going to cause
> expensive false unlikely() on _every_ LSM hook.

I see this on x86-32 to an extent. Its quite visible with gigabit as
you'd expect. ia64 ought to be less affected providing the compiler is
doing the right things with the unconditional jumps.


Alan

-
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/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.095 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site