Matthew Mondor wrote:No, it wasn't profiled yet. There are no "more restrictions" planned for now. AFAIK, this is not a consideration. There's no easy way to say it, but I am simply not working on this with a 486 in mind. Nor with a Vax in mind, or whatever the architecture(s) you are referring to are... However.. I *am* trying to make the new code fast as possible. (note: you are referring *VERY* new code; there have been no efforts to further optimize it) I'd like to take this opportunity to state, again, that overhead is to be expected because we're introducing here a new subsystem (both for the securelevel-specific cases *and* wherever we're using kauth(9) where we previously didn't) that does more things. The benefit is rather obvious, and if the performance of this code on archaic machines is a consideration that can prevent the integration of kauth(9) in NetBSD, then there is no point to continue working on any of it. The performance impact entirely depends on how many listeners each scope has, and what each of them is doing in order to make an authorization decision. Also, why would "a number of LKMs loaded" affect the performance of kauth(9)? Why do everyone keep repeating this? do you have hardware you're interested in the performance of kauth(9) on? get the code from CVS and just run it, then post back. I do not have unlimited resources (time nor hardware) to test this code in all possible environments. Yes. You too, are confusing "implementation" with "interface". Why would there be "no listeners"? This is simply not how it works. You do not take a step forward to just take two steps back. Yes. Please, no pseudo-performance improvement suggestions that over complicate the system, diverge from a known, tested, design, without introducing the need for them first. The best way you can eliminate (or confirm) your performance concerns are by testing the code yourself in your own environment. -e. -- Elad Efrat
| Karl Meyer | PROBLEM: 2.6.23-rc "NETDEV WATCHDOG: eth0: transmit timed out" |
| David Miller | Slow DOWN, please!!! |
| Mark Fasheh | [PATCH 0/39] Ocfs2 updates for 2.6.28 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Shawn O. Pearce | Re: pack operation is thrashing my server |
| Pierre Habouzit | git send-email improvements |
| Matthieu Moy | git push to a non-bare repository |
| Shawn O. Pearce | libgit2 - a true git library |
| Elad Efrat | Integrating securelevel and kauth(9) |
| Hubert Feyrer | Re: Compressed vnd handling tested successfully |
| Lord Isildur | Re: Fork bomb protection patch |
| Matt Thomas | Re: FFS journal |
| Will Maier | cron doesn't run commands in /etc/crontab? |
| Richard Stallman | Real men don't attack straw men |
| Harald Dunkel | Re: Packet Filter: how to keep device names on hardware failure? |
| Jordi Espasa Clofent | Resolving dependencies with pkg_add |
| Question on swap as ramdisk partition | 1 hour ago | Linux kernel |
| Netfilter kernel module | 11 hours ago | Linux kernel |
| serial driver xmit problem | 14 hours ago | Linux kernel |
| Why Windows is better than Linux | 14 hours ago | Linux general |
| How can I see my kernel messages in vt12? | 21 hours ago | Linux kernel |
| Grub | 1 day ago | Linux general |
| vmalloc_fault handling in x86_64 | 1 day ago | Linux kernel |
| epoll_wait()ing on epoll FD | 1 day ago | Linux kernel |
| Framebuffer in x86_64 causes problems to multiseat | 1 day ago | Linux kernel |
| Difference between 2.4 and 2.6 regarding thread creation | 2 days ago | Linux general |
