Re: [RFC v2 00/10] snet: Security for NETwork syscalls

From: Samir Bellabes
Date: Sat Mar 06 2010 - 13:50:11 EST


Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> writes:

> Regarding [RFC v2 05/10] snet: introduce snet_event

> +int snet_event_is_registered(const enum snet_syscall syscall, const u8 protocol)
>
> Maybe rcu_read_lock() is better than rw spinlock because this function is
> frequently called.

Indeed. Evgeniy Polyakov already noticed that, it's on my TODO.
thank you Tetsuo
sam
--
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/