{"unit":"https://translate-dev.freebsd.org/api/units/229218/?format=json","component":"https://translate-dev.freebsd.org/api/components/freebsd-doc/articles_linux-emulation/?format=json","translation":"https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_linux-emulation/pt_BR/?format=json","user":null,"author":null,"timestamp":"2021-01-09T14:33:01.949099Z","action":30,"target":"The locking is implemented to be per-subsystem because we do not expect a lot of contention on these. There are two locks: <literal>emul_lock</literal> used to protect manipulating of <literal>linux_emuldata</literal> and <literal>emul_shared_lock</literal> used to manipulate <literal>linux_emuldata_shared</literal>. The <literal>emul_lock</literal> is a nonsleepable blocking mutex while <literal>emul_shared_lock</literal> is a sleepable blocking <literal>sx_lock</literal>. Due to the per-subsystem locking we can coalesce some locks and that is why the em find offers the non-locking access.","id":106093,"action_name":"改变了源字符串","url":"https://translate-dev.freebsd.org/api/changes/106093/?format=json"}