Is kdeinit still actual?

Thiago Macieira thiago at kde.org
Fri May 1 15:42:45 BST 2020


On Monday, 27 April 2020 03:53:38 PDT Alexander Volkov wrote:
> As for KIO slaves, they are started from processes that are already
> linked with many KDE libraries and there is no
> 
> much benefit in starting them from kdeinit.

That's an incorrect conclusion. Your premise is correct: the process that 
launches them links to many KDE libraries. But since that launch is a regular 
fork() + exec(), the premise is irrelevant. The KDE libraries will be loaded 
again, relocated and initialised, before the ioslave code is run.

A quick test here shows kdeinit and one ioslave (file.so, that was already 
running) are sharing 2380 kB between them. The ioslave has a total of 548 kB 
of additional private memory that isn't shared with anything else in the 
system.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products







More information about the kde-core-devel mailing list