[PATCH hurd] libports: use protected payloads to optimize the object lookup

2015-04-04 Thread Justus Winter
* NEWS: Mention protected payloads. * libports/Makefile (SRCS): Add `port-deref-deferred.c'. * libports/create-internal.c (_ports_create_port_internal): Set the protected payload to the objects address. * libports/import-port.c (ports_import_port): Likewise. * libports/reallocate-from-external.c (p

Re: [PATCH hurd 28/30] libports: use protected payloads to optimize the object lookup

2015-04-04 Thread Justus Winter
Quoting Justus Winter (2015-04-03 11:55:07) > Quoting Samuel Thibault (2014-12-09 02:21:20) > > Justus Winter, le Thu 04 Dec 2014 15:39:04 +0100, a écrit : > > > If we now `ports_destroy_right' X, and at the same time the last send > > > right to X is destroyed, there's a chance that said notificat