summaryrefslogtreecommitdiff
path: root/open_issues/nptl.mdwn
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2014-02-26 12:32:06 +0100
committerThomas Schwinge <thomas@codesourcery.com>2014-02-26 12:32:06 +0100
commitc4ad3f73033c7e0511c3e7df961e1232cc503478 (patch)
tree16ddfd3348bfeec014a4d8bb8c1701023c63678f /open_issues/nptl.mdwn
parentd9079faac8940c4654912b0e085e1583358631fe (diff)
IRC.
Diffstat (limited to 'open_issues/nptl.mdwn')
-rw-r--r--open_issues/nptl.mdwn69
1 files changed, 65 insertions, 4 deletions
diff --git a/open_issues/nptl.mdwn b/open_issues/nptl.mdwn
index 3c84bfb0..be0270df 100644
--- a/open_issues/nptl.mdwn
+++ b/open_issues/nptl.mdwn
@@ -1,4 +1,5 @@
-[[!meta copyright="Copyright © 2010, 2013 Free Software Foundation, Inc."]]
+[[!meta copyright="Copyright © 2010, 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
@@ -15,7 +16,8 @@ License|/fdl]]."]]"""]]
# IRC, freenode, #hurd, 2010-07-31
- <tschwinge> Other question: how difficult is a NPTL port? Futexes and some kernel interfaces for scheduling stuff etc. -- what else?
+ <tschwinge> Other question: how difficult is a NPTL port? Futexes and some
+ kernel interfaces for scheduling stuff etc. -- what else?
<youpi> actually NPTL doesn't _require_ futexes
<youpi> it just requires low-level locks
<youpi> Mmm, it seems to be so only in principle
@@ -25,8 +27,10 @@ License|/fdl]]."]]"""]]
<youpi> I'm not sure we really want to port NPTL
<tschwinge> OK.
<youpi> Drepper will keep finding things to add
- <youpi> while the interface between glibc and libpthread isn't increasing _so_ much
- <tschwinge> ... and even less so the interfavce that actual applications are using.
+ <youpi> while the interface between glibc and libpthread isn't increasing
+ _so_ much
+ <tschwinge> ... and even less so the interfavce that actual applications
+ are using.
<tschwinge> We'd need to evaluate which benefits NPTL would bring.
@@ -44,6 +48,63 @@ License|/fdl]]."]]"""]]
<azeem> and http://lists.debian.org/debian-bsd/2013/07/msg00138.html
+# IRC, freenode, #hurd, 2013-12-26
+
+ <nalaginrut> hm? has NPTL already supported for Hurd?
+ <braunr> probably won't ever be
+ <nalaginrut> so no plan for it?
+ <braunr> what for ?
+ <nalaginrut> no one interested in it, or no necessary adding it?
+ <braunr> why would you want nptl ?
+ <braunr> ntpl was created to overcome the defficiencies of linuxthreads
+ <braunr> we have our own libpthread
+ <braunr> (with its own defficiencies)
+ <braunr> supporting nptl would probably force us to implement something a
+ la clone
+ <nalaginrut> well, just inertia, now that Linux/kFreebsd has it
+ <braunr> are you sure kfreebsd has it ?
+ * teythoon thought we have clone
+ <nalaginrut> http://www.gnu.org/software/hurd/open_issues/nptl.html
+ <nalaginrut> seems someone mentioned it
+ <braunr> it's a "nptl-like implementation"
+ <nalaginrut> yes, I don't think it should be the same with Linux one, but
+ something like it
+ <braunr> but what for ?
+ <braunr> as mentioned in the link you just gave, "<tschwinge> We'd need to
+ evaluate which benefits NPTL would bring."
+ <nalaginrut> well, it's the note of 2010, I don't know if it's relative now
+ <braunr> relevant*
+ <nalaginrut> ah thanks
+ <braunr> but that still doesn't answer anything
+ <braunr> why are *you* talking about nptl ?
+ <nalaginrut> just saw pthread, then recall nptl, dunno
+ <nalaginrut> just asking
+ <braunr> :)
+ <nalaginrut> but you mentioned that Hurd has its own thread implementation,
+ is it similar or better than Linux NPTL?
+ <nalaginrut> or there's no benchmark yet?
+ <braunr> it's inferior in performance
+ <braunr> almost everything in the hurd is inferior performance-wise because
+ of the lack of optimizations
+ <braunr> currently we care more about correctness
+ <nalaginrut> speak the NPTL, I ever argued with a friend since I saw
+ drepper mentioned NPTL should be m:n, then I thought it is...But finally
+ I was failed, he didn't implement it yet...
+ <braunr> what ?
+ <braunr> nptl was always 1:1
+ <nalaginrut> but in nptl-design draft, I thought it's m:n
+ <nalaginrut> anyway, it's draft
+ <nalaginrut> and seems being a draft for long time
+ <braunr> never read anything like that
+ <nalaginrut> I think it's my misread
+ <nalaginrut> I have to go, see you guys tomorrow
+ <braunr> The consensus among the kernel developers was that an M-on-N
+ implementation
+ <braunr> would not fit into the Linux kernel concept. The necessary
+ infrastructure which would
+ <braunr> have to be added comes with a cost which is too high.
+
+
---
# Resources