From: "Денис Смирнов" <mithraen@freesource.info> To: "Культурный офтопик" <smoke-room@lists.altlinux.org> Subject: Re: [room] glibc -- яркий пример проблем, аналогичных нашим Date: Sat, 2 Apr 2011 23:10:54 +0400 Message-ID: <20110402191054.GA204899@mw.mithraen.ru> (raw) In-Reply-To: <BANLkTing97MdbtbEjAcXoqCpqG575VkjHg@mail.gmail.com> [-- Attachment #1: Type: text/plain, Size: 1222 bytes --] On Sat, Apr 02, 2011 at 10:30:55PM +0400, Aleksey Novodvorsky wrote: AN> Почему же Линус требует от разработчиков glibc то, что сам не делает? AN> (Небольшая провокация, да. Но я хочу подчеркнуть, что тема не такая AN> простая и надо хорошо понимать процесс и области ответственности, AN> чтобы ее обсуждать.) Линусу можно, он не работает на авторов дистрибутива. Для glibc он пользователь. Если бы в федоре пакетилось с исправлением этой проблемы вопросов бы не было. Кроме того была озвучена разумная мысль -- так как нынешний memcpy уже не является простым, из-за оптимизаций Intel, то небольшое изменение которое позволило бы сделать поведение memcpy идентичным поведению memmove имеет смысл. А еще добавление -- исторически сложилось представление о том, что memcpy копирует именно из начала в конец (в отличии от memmove который копирует как надо в данном конкретном случае). Изменение которое приводит к тому что ломается эта фича делает использование memcpy бессмысленным во всех случаях, кроме как когда заранее известно что эти диапазоны не пересекаются. -- С уважением, Денис http://mithraen.ru/ ---------------------------------------------------------------------------- [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2011-04-02 19:10 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-04-02 17:31 Денис Смирнов 2011-04-02 18:11 ` Евгений Ростовцев 2011-04-02 18:18 ` Евгений Ростовцев 2011-04-02 18:30 ` Aleksey Novodvorsky 2011-04-02 18:34 ` Евгений Ростовцев 2011-04-02 18:44 ` Aleksey Novodvorsky 2011-04-04 9:06 ` [room] glibc -- яркий пример давно известных проблем Michael Shigorin 2011-04-04 9:15 ` Евгений Ростовцев 2011-04-04 10:28 ` Aleksey Novodvorsky 2011-04-04 10:34 ` Michael Shigorin 2011-04-04 10:43 ` Aleksey Novodvorsky 2011-04-04 10:45 ` Aleksey Novodvorsky 2011-04-02 19:10 ` Денис Смирнов [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20110402191054.GA204899@mw.mithraen.ru \ --to=mithraen@freesource.info \ --cc=smoke-room@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Культурный офтопик This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \ smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com public-inbox-index smoke-room Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.smoke-room AGPL code for this site: git clone https://public-inbox.org/public-inbox.git