From c4ad3f73033c7e0511c3e7df961e1232cc503478 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 26 Feb 2014 12:32:06 +0100 Subject: IRC. --- hurd/libports.mdwn | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 66 insertions(+), 1 deletion(-) (limited to 'hurd/libports.mdwn') diff --git a/hurd/libports.mdwn b/hurd/libports.mdwn index 6f2cd46d..b0a0f6d5 100644 --- a/hurd/libports.mdwn +++ b/hurd/libports.mdwn @@ -1,4 +1,5 @@ -[[!meta copyright="Copyright © 2010, 2011 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2010, 2011, 2013, 2014 Free Software Foundation, +Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable id="license" text="Permission is granted to copy, distribute and/or modify this @@ -35,3 +36,67 @@ when they are not used. ([[!taglink open_issue_hurd]]: there used to be bugs in this area, [[!message-id "87hev152we.fsf@becket.becket.net"]], but it may be fixed as of [[!message-id "20111030210045.GA4983@myhost"]], [[!GNU_Savannah_Git_hurd_hurd 9b5429e834cde56f73b8ff605e36afc7d9bb6e1b]].) + + +# Open Issues + +## Several on the [[/Open_Issues]] page + +## IRC, freenode, #hurd, 2013-11-14 + + # portinfo $(pgrep mach-defpager) | tail -n 1 + 16819001: receive + is that normal ? + it can be, yes + port names can be renamed + there are a few occurrences in the code + see + http://www.gnu.org/software/hurd/gnumach-doc/Port-Names.html#Port-Names + I know + mach-defpager/default_pager.c: kr = mach_port_rename( + default_pager_self, + heh, it is a pointer + I thought that'd make stuff inefficient in gnumach? + it does + such rights are moved from a regular fast-access table to a splay + tree + but when i looked into it, there were never more than a few dozen + rights in these trees + (which is why i didn't merge my radix tree in gnumach) + I've been contemplating to replace the libihash usage in + libports with a simple array + consider a radix tree too then :) + well, I did + ok + but I'm not convinced that it would do better than a simple + array (or the current ihash implementation) + really ? + what do you hope to gain? + i'm practically certain it would do better than the current ihash + code + uh, speed + the problem with an array or a hash table is resizing + a well tuned radix tree (say 64 ot 512 items per node) can reduce + to a simple array for the common case + right + but consider the use case + and scale very well for massive users such as file systems which + can reach several hundred thousand rights + hm + an array could be very efficient as well + i'm just concerned about resizing + but this is a problem with the current implementation as well + sure + we're not considering keeping it anyway + this discussion is about array vs radix tree + the radix tree also has the advantage to efficiently deal with + sparsely populated port name spaces + to some degree + which is probably what you're currently concerned with about this + weird port name in defpager :) + http://paste.debian.net/65780/ + yes, but mach-defpager does not use libports + ok + +See also discussion on [[microkernel/mach/deficiencies]], *X15*, *IRC, +freenode, #hurd, 2013-11-14*. -- cgit v1.2.3