From: Vladimir Tzankov <vtzankov@gm...> - 2009-11-19 08:05:57
On 11/18/09, Sam Steingold <sds@...> wrote:
> Should libopen & find_name be guarded with begin_blocking_system_call
Yes. libopen searches in directories specified by a set of environment
variables and some of these directories may be on NFS mounted volumes
(also the library being loaded may have dependencies - causing other
libraries to get loaded, etc - taking quite a bit of time).
Not sure about find_name() - image symbol tables are already loaded by
libopen - so I guess it cannot block.